diff options
author | Brad King <brad.king@kitware.com> | 2020-10-03 08:57:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-10-05 12:57:10 (GMT) |
commit | 2bb2a283e987e92172ecdd05bbabba96a6b2c950 (patch) | |
tree | c4222ad6cbd1a8c1f96fb3db520a4353bf13a9bf | |
parent | 03fb06b8e78494b7a6bbe5282a9a8a3bff9024b0 (diff) | |
download | CMake-2bb2a283e987e92172ecdd05bbabba96a6b2c950.zip CMake-2bb2a283e987e92172ecdd05bbabba96a6b2c950.tar.gz CMake-2bb2a283e987e92172ecdd05bbabba96a6b2c950.tar.bz2 |
ci: add packages for many find modules to the Debian 10 image
-rw-r--r-- | .gitlab/ci/docker/debian10/Dockerfile | 10 | ||||
-rwxr-xr-x | .gitlab/ci/docker/debian10/install_deps.sh | 56 | ||||
-rwxr-xr-x | .gitlab/ci/docker/debian10/install_rvm.sh | 19 |
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitlab/ci/docker/debian10/Dockerfile b/.gitlab/ci/docker/debian10/Dockerfile index e8c3851..34a4bf1 100644 --- a/.gitlab/ci/docker/debian10/Dockerfile +++ b/.gitlab/ci/docker/debian10/Dockerfile @@ -4,6 +4,12 @@ MAINTAINER Ben Boeckel <ben.boeckel@kitware.com> COPY install_iwyu.sh /root/install_iwyu.sh RUN sh /root/install_iwyu.sh +FROM debian:10 as rvm-build +MAINTAINER Ben Boeckel <ben.boeckel@kitware.com> + +COPY install_rvm.sh /root/install_rvm.sh +RUN sh /root/install_rvm.sh + FROM debian:10 MAINTAINER Ben Boeckel <ben.boeckel@kitware.com> @@ -13,3 +19,7 @@ RUN sh /root/install_deps.sh COPY --from=iwyu-build /root/iwyu.tar.gz /root/iwyu.tar.gz RUN tar -C / -xf /root/iwyu.tar.gz RUN ln -s /usr/lib/llvm-6.0/bin/include-what-you-use /usr/bin/include-what-you-use-6.0 + +COPY --from=rvm-build /root/rvm.tar /root/rvm.tar +RUN tar -C /usr/local -xf /root/rvm.tar \ + && rm /root/rvm.tar diff --git a/.gitlab/ci/docker/debian10/install_deps.sh b/.gitlab/ci/docker/debian10/install_deps.sh index 9c32d64..e885ae6 100755 --- a/.gitlab/ci/docker/debian10/install_deps.sh +++ b/.gitlab/ci/docker/debian10/install_deps.sh @@ -19,4 +19,60 @@ apt-get install -y \ clang-6.0 \ libncurses6 +# Packages needed to test find modules. +apt-get install -y \ + alsa-utils \ + doxygen graphviz \ + gnutls-dev \ + libarchive-dev \ + libblas-dev \ + libboost-dev \ + libboost-filesystem-dev \ + libboost-program-options-dev \ + libboost-python-dev \ + libboost-thread-dev \ + libbz2-dev \ + libcups2-dev \ + libcurl4-gnutls-dev \ + libfontconfig1-dev \ + libfreetype6-dev \ + libgdal-dev \ + libgif-dev \ + libgl1-mesa-dev \ + libglew-dev \ + libgsl-dev \ + libgtest-dev \ + libgtk2.0-dev \ + libinput-dev \ + libjpeg-dev \ + libjsoncpp-dev \ + liblapack-dev \ + liblzma-dev \ + libopenmpi-dev openmpi-bin \ + libpng-dev \ + libpq-dev postgresql-server-dev-11 \ + libprotobuf-dev libprotobuf-c-dev libprotoc-dev protobuf-compiler \ + libsdl-dev \ + libsqlite3-dev \ + libtiff-dev \ + libuv1-dev \ + libx11-dev \ + libxalan-c-dev \ + libxerces-c-dev \ + libxml2-dev libxml2-utils \ + libxslt-dev xsltproc \ + python2 python2-dev python-numpy pypy pypy-dev \ + python3 python3-dev python3-numpy pypy3 pypy3-dev python3-venv \ + qtbase5-dev qtbase5-dev-tools \ + ruby ruby-dev \ + swig \ + unixodbc-dev + +# CMake_TEST_FindPython_IronPython +apt-get install -y \ + libmono-system-windows-forms4.0-cil +curl -L -O https://github.com/IronLanguages/ironpython2/releases/download/ipy-2.7.10/ironpython_2.7.10.deb +dpkg -i ironpython_2.7.10.deb +rm ironpython_2.7.10.deb + apt-get clean diff --git a/.gitlab/ci/docker/debian10/install_rvm.sh b/.gitlab/ci/docker/debian10/install_rvm.sh new file mode 100755 index 0000000..2bea511 --- /dev/null +++ b/.gitlab/ci/docker/debian10/install_rvm.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +apt-get update +apt-get install -y \ + curl \ + gnupg2 \ + procps + +gpg2 --keyserver hkp://pool.sks-keyservers.net \ + --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \ + 7D2BAF1CF37B13E2069D6956105BD0E739499BDB + +curl -sSL https://get.rvm.io | bash -s stable + +/usr/local/rvm/bin/rvm install ruby-2.7.0 + +tar -C /usr/local -cf /root/rvm.tar rvm |