summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-09 17:35:05 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-09 17:35:05 (GMT)
commit2e124fa22d41d76ba6d3bdb6243a729350b20720 (patch)
tree5bc68513ef9bca395b0ccfe4f517d2b5d3c430b9 /.gitlab
parenta5e865c178b0ce3f273c1131972d8c3733deac4b (diff)
downloadCMake-2e124fa22d41d76ba6d3bdb6243a729350b20720.zip
CMake-2e124fa22d41d76ba6d3bdb6243a729350b20720.tar.gz
CMake-2e124fa22d41d76ba6d3bdb6243a729350b20720.tar.bz2
ci: add hip4.2 base image
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/docker/hip4.2/Dockerfile7
-rwxr-xr-x.gitlab/ci/docker/hip4.2/install_deps.sh13
2 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab/ci/docker/hip4.2/Dockerfile b/.gitlab/ci/docker/hip4.2/Dockerfile
new file mode 100644
index 0000000..563e94f
--- /dev/null
+++ b/.gitlab/ci/docker/hip4.2/Dockerfile
@@ -0,0 +1,7 @@
+FROM rocm/dev-ubuntu-20.04:4.2
+MAINTAINER Brad King <brad.king@kitware.com>
+
+ENV PATH="/opt/rocm/bin:$PATH"
+
+COPY install_deps.sh /root/install_deps.sh
+RUN sh /root/install_deps.sh
diff --git a/.gitlab/ci/docker/hip4.2/install_deps.sh b/.gitlab/ci/docker/hip4.2/install_deps.sh
new file mode 100755
index 0000000..2b45bc9
--- /dev/null
+++ b/.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