diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-04-08 13:58:48 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-04-29 15:16:44 (GMT) |
commit | 68903ae23884bcbb8bb47e0ce188da5151947bfd (patch) | |
tree | ea642d47cf631aa0e03c5914557587a60ebb187d /.gitlab | |
parent | 3ac24a8a6e31be136436fc011ac94ef06b63857d (diff) | |
download | CMake-68903ae23884bcbb8bb47e0ce188da5151947bfd.zip CMake-68903ae23884bcbb8bb47e0ce188da5151947bfd.tar.gz CMake-68903ae23884bcbb8bb47e0ce188da5151947bfd.tar.bz2 |
ci: add a Docker container for building CMake
Since we're starting with just `clang-tidy`, external deps are not
included right now.
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/docker/fedora31/Dockerfile | 5 | ||||
-rwxr-xr-x | .gitlab/ci/docker/fedora31/install_deps.sh | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab/ci/docker/fedora31/Dockerfile b/.gitlab/ci/docker/fedora31/Dockerfile new file mode 100644 index 0000000..5588a85 --- /dev/null +++ b/.gitlab/ci/docker/fedora31/Dockerfile @@ -0,0 +1,5 @@ +FROM fedora:31 +MAINTAINER Ben Boeckel <ben.boeckel@kitware.com> + +COPY install_deps.sh /root/install_deps.sh +RUN sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/fedora31/install_deps.sh b/.gitlab/ci/docker/fedora31/install_deps.sh new file mode 100755 index 0000000..978fdbd --- /dev/null +++ b/.gitlab/ci/docker/fedora31/install_deps.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# Install build requirements. +dnf install -y \ + openssl-devel + +# Install development tools. +dnf install -y \ + clang-tools-extra \ + gcc-c++ \ + git-core + +dnf clean all |