mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 12:16:40 +08:00
ci: add a Docker container for building CMake
Since we're starting with just `clang-tidy`, external deps are not included right now.
This commit is contained in:
5
.gitlab/ci/docker/fedora31/Dockerfile
Normal file
5
.gitlab/ci/docker/fedora31/Dockerfile
Normal file
@@ -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
|
13
.gitlab/ci/docker/fedora31/install_deps.sh
Executable file
13
.gitlab/ci/docker/fedora31/install_deps.sh
Executable file
@@ -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
|
Reference in New Issue
Block a user