Brad King 4 лет назад
Родитель
Сommit
2e124fa22d
2 измененных файлов с 20 добавлено и 0 удалено
  1. 7 0
      .gitlab/ci/docker/hip4.2/Dockerfile
  2. 13 0
      .gitlab/ci/docker/hip4.2/install_deps.sh

+ 7 - 0
.gitlab/ci/docker/hip4.2/Dockerfile

@@ -0,0 +1,7 @@
+FROM rocm/dev-ubuntu-20.04:4.2
+MAINTAINER Brad King <[email protected]>
+
+ENV PATH="/opt/rocm/bin:$PATH"
+
+COPY install_deps.sh /root/install_deps.sh
+RUN sh /root/install_deps.sh

+ 13 - 0
.gitlab/ci/docker/hip4.2/install_deps.sh

@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+apt-get update
+
+# Install development tools.
+apt-get install -y --no-install-recommends \
+    g++ \
+    curl \
+    git
+
+apt-get clean