summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/docker/debian10/Dockerfile
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-07-27 17:11:18 (GMT)
committerBrad King <brad.king@kitware.com>2023-07-28 13:14:07 (GMT)
commit9526679bbc882f6eb904a401380cf3d6574ba91a (patch)
treed3594543814040a41794198f50085914fb4d52bf /.gitlab/ci/docker/debian10/Dockerfile
parente49ff2b2f27a783226ebabb936a66f8e5a38705c (diff)
downloadCMake-9526679bbc882f6eb904a401380cf3d6574ba91a.zip
CMake-9526679bbc882f6eb904a401380cf3d6574ba91a.tar.gz
CMake-9526679bbc882f6eb904a401380cf3d6574ba91a.tar.bz2
ci: Update base images to Debian 12
Diffstat (limited to '.gitlab/ci/docker/debian10/Dockerfile')
-rw-r--r--.gitlab/ci/docker/debian10/Dockerfile62
1 files changed, 0 insertions, 62 deletions
diff --git a/.gitlab/ci/docker/debian10/Dockerfile b/.gitlab/ci/docker/debian10/Dockerfile
deleted file mode 100644
index d866428..0000000
--- a/.gitlab/ci/docker/debian10/Dockerfile
+++ /dev/null
@@ -1,62 +0,0 @@
-# syntax=docker/dockerfile:1
-
-ARG BASE_IMAGE=debian:10
-
-FROM ${BASE_IMAGE} AS apt-cache
-# Populate APT cache w/ the fresh metadata and prefetch packages.
-# Use an empty `docker-clean` file to "hide" the image-provided
-# file to disallow removing packages after `apt-get` operations.
-RUN --mount=type=tmpfs,target=/var/log \
- --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \
- --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \
- --mount=type=bind,source=iwyu_packages.lst,target=/root/iwyu_packages.lst \
- --mount=type=bind,source=rvm_packages.lst,target=/root/rvm_packages.lst \
- apt-get update \
- && apt-get --download-only -y install $(grep -h '^[^#]\+$' /root/*.lst)
-
-
-FROM ${BASE_IMAGE} AS iwyu-build
-LABEL maintainer="Ben Boeckel <ben.boeckel@kitware.com>"
-
-RUN --mount=type=bind,source=install_iwyu.sh,target=/root/install_iwyu.sh \
- --mount=type=bind,source=iwyu_packages.lst,target=/root/iwyu_packages.lst \
- --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \
- --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \
- --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \
- --mount=type=tmpfs,target=/var/log \
- --mount=type=tmpfs,target=/tmp \
- sh /root/install_iwyu.sh
-
-
-FROM ${BASE_IMAGE} AS rvm-build
-LABEL maintainer="Ben Boeckel <ben.boeckel@kitware.com>"
-
-RUN --mount=type=bind,source=install_rvm.sh,target=/root/install_rvm.sh \
- --mount=type=bind,source=rvm_packages.lst,target=/root/rvm_packages.lst \
- --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \
- --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \
- --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \
- --mount=type=tmpfs,target=/var/log \
- --mount=type=tmpfs,target=/tmp \
- sh /root/install_rvm.sh
-
-
-FROM ${BASE_IMAGE}
-LABEL maintainer="Ben Boeckel <ben.boeckel@kitware.com>"
-
-RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \
- --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \
- --mount=type=bind,source=dpkg-exclude,target=/etc/dpkg/dpkg.cfg.d/exclude \
- --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \
- --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \
- --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \
- --mount=type=tmpfs,target=/var/log \
- --mount=type=tmpfs,target=/tmp \
- sh /root/install_deps.sh
-
-RUN --mount=type=bind,from=iwyu-build,source=/root,target=/root \
- tar -C / -xf /root/iwyu.tar \
- && ln -s /usr/lib/llvm-6.0/bin/include-what-you-use /usr/bin/include-what-you-use-6.0
-
-RUN --mount=type=bind,from=rvm-build,source=/root,target=/root \
- tar -C /usr/local -xf /root/rvm.tar