diff options
author | Brad King <brad.king@kitware.com> | 2021-07-09 17:35:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-07-09 17:35:05 (GMT) |
commit | 2e124fa22d41d76ba6d3bdb6243a729350b20720 (patch) | |
tree | 5bc68513ef9bca395b0ccfe4f517d2b5d3c430b9 /.gitlab | |
parent | a5e865c178b0ce3f273c1131972d8c3733deac4b (diff) | |
download | CMake-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/Dockerfile | 7 | ||||
-rwxr-xr-x | .gitlab/ci/docker/hip4.2/install_deps.sh | 13 |
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 |