From 3d78e9d120bba61514e383f656f0ac2dee058704 Mon Sep 17 00:00:00 2001 From: Timotheus Bachinger Date: Tue, 14 Jan 2025 17:09:28 +0100 Subject: [PATCH] Purge python from build images ... we should be fully hermetic via bazel by now CMK-21147 Change-Id: Ie8255cdefb3d6ad297c683180f84bb36ecad2392 --- buildscripts/infrastructure/build-nodes/almalinux-9/Dockerfile | 3 --- buildscripts/infrastructure/build-nodes/debian-11/Dockerfile | 3 --- buildscripts/infrastructure/build-nodes/debian-12/Dockerfile | 3 --- buildscripts/infrastructure/build-nodes/sles-15sp3/Dockerfile | 3 --- buildscripts/infrastructure/build-nodes/sles-15sp4/Dockerfile | 3 --- buildscripts/infrastructure/build-nodes/sles-15sp5/Dockerfile | 3 --- buildscripts/infrastructure/build-nodes/sles-15sp6/Dockerfile | 3 --- .../infrastructure/build-nodes/ubuntu-20.04/Dockerfile | 3 --- .../infrastructure/build-nodes/ubuntu-22.04/Dockerfile | 3 --- .../infrastructure/build-nodes/ubuntu-24.04/Dockerfile | 3 --- 10 files changed, 30 deletions(-) diff --git a/buildscripts/infrastructure/build-nodes/almalinux-9/Dockerfile b/buildscripts/infrastructure/build-nodes/almalinux-9/Dockerfile index 9d3f6366141..8fbb741a57c 100644 --- a/buildscripts/infrastructure/build-nodes/almalinux-9/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/almalinux-9/Dockerfile @@ -163,8 +163,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -199,7 +197,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/debian-11/Dockerfile b/buildscripts/infrastructure/build-nodes/debian-11/Dockerfile index 8f9d1784727..6da88d79ae8 100644 --- a/buildscripts/infrastructure/build-nodes/debian-11/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/debian-11/Dockerfile @@ -117,8 +117,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -153,7 +151,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/debian-12/Dockerfile b/buildscripts/infrastructure/build-nodes/debian-12/Dockerfile index 3f168856519..b5502060920 100644 --- a/buildscripts/infrastructure/build-nodes/debian-12/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/debian-12/Dockerfile @@ -116,8 +116,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -152,7 +150,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/sles-15sp3/Dockerfile b/buildscripts/infrastructure/build-nodes/sles-15sp3/Dockerfile index c9bb365af91..4702991fa47 100644 --- a/buildscripts/infrastructure/build-nodes/sles-15sp3/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/sles-15sp3/Dockerfile @@ -129,8 +129,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -165,7 +163,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/sles-15sp4/Dockerfile b/buildscripts/infrastructure/build-nodes/sles-15sp4/Dockerfile index ba9eb326c2a..d62821034ce 100644 --- a/buildscripts/infrastructure/build-nodes/sles-15sp4/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/sles-15sp4/Dockerfile @@ -128,8 +128,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -164,7 +162,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/sles-15sp5/Dockerfile b/buildscripts/infrastructure/build-nodes/sles-15sp5/Dockerfile index fe2f6c1be72..abb1c48950a 100644 --- a/buildscripts/infrastructure/build-nodes/sles-15sp5/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/sles-15sp5/Dockerfile @@ -127,8 +127,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -163,7 +161,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/sles-15sp6/Dockerfile b/buildscripts/infrastructure/build-nodes/sles-15sp6/Dockerfile index c187e542b25..5a4b998dd7f 100644 --- a/buildscripts/infrastructure/build-nodes/sles-15sp6/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/sles-15sp6/Dockerfile @@ -127,8 +127,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -163,7 +161,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/ubuntu-20.04/Dockerfile b/buildscripts/infrastructure/build-nodes/ubuntu-20.04/Dockerfile index 5d2d30e057d..70ff91e2ff0 100644 --- a/buildscripts/infrastructure/build-nodes/ubuntu-20.04/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/ubuntu-20.04/Dockerfile @@ -123,8 +123,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -159,7 +157,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/ubuntu-22.04/Dockerfile b/buildscripts/infrastructure/build-nodes/ubuntu-22.04/Dockerfile index 4db93e94604..10bc25775b0 100644 --- a/buildscripts/infrastructure/build-nodes/ubuntu-22.04/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/ubuntu-22.04/Dockerfile @@ -130,8 +130,6 @@ RUN /opt/install-cmake.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -167,7 +165,6 @@ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-cmake.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only diff --git a/buildscripts/infrastructure/build-nodes/ubuntu-24.04/Dockerfile b/buildscripts/infrastructure/build-nodes/ubuntu-24.04/Dockerfile index 4f7e17d7846..f99cdd0fc0a 100644 --- a/buildscripts/infrastructure/build-nodes/ubuntu-24.04/Dockerfile +++ b/buildscripts/infrastructure/build-nodes/ubuntu-24.04/Dockerfile @@ -126,8 +126,6 @@ RUN /opt/install-valgrind.sh COPY install-protobuf-cpp.sh /opt/ RUN /opt/install-protobuf-cpp.sh -COPY install-python.sh /opt/ -RUN /opt/install-python.sh # install GDB after Python as it requires shared object files, see CMK-15854 COPY install-gdb.sh /opt/ @@ -162,7 +160,6 @@ ENV \ RUN /opt/install-gnu-toolchain.sh link-only RUN /opt/install-valgrind.sh link-only RUN /opt/install-protobuf-cpp.sh --link-only -RUN /opt/install-python.sh link-only RUN /opt/install-bazel.sh link-only RUN /opt/install-rust-cargo.sh link-only