From 372a3219f33f4acb32239bda5d6704e8663ca7d9 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 10 Mar 2022 19:51:35 +0100 Subject: [PATCH] chore: remove Python from main Docker image (#12431) --- utils/docker/Dockerfile.bionic | 5 ----- utils/docker/Dockerfile.focal | 5 ----- 2 files changed, 10 deletions(-) diff --git a/utils/docker/Dockerfile.bionic b/utils/docker/Dockerfile.bionic index 0ef4ace7ee..bbb8f9bce5 100644 --- a/utils/docker/Dockerfile.bionic +++ b/utils/docker/Dockerfile.bionic @@ -13,11 +13,6 @@ RUN apt-get update && \ # Feature-parity with node.js base images. apt-get install -y --no-install-recommends git openssh-client && \ npm install -g yarn && \ - # Install Python 3.8 - apt-get install -y python3.8 python3-pip && \ - update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 && \ - update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \ - update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 && \ # clean apt cache rm -rf /var/lib/apt/lists/* && \ # Create the pwuser (we internally create a symlink for the pwuser and the root user) diff --git a/utils/docker/Dockerfile.focal b/utils/docker/Dockerfile.focal index 4bd08f54b7..0e4b7af89b 100644 --- a/utils/docker/Dockerfile.focal +++ b/utils/docker/Dockerfile.focal @@ -13,11 +13,6 @@ RUN apt-get update && \ # Feature-parity with node.js base images. apt-get install -y --no-install-recommends git openssh-client && \ npm install -g yarn && \ - # Install Python 3.8 - apt-get install -y python3.8 python3-pip && \ - update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 && \ - update-alternatives --install /usr/bin/python python /usr/bin/python3 1 && \ - update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 && \ # clean apt cache rm -rf /var/lib/apt/lists/* && \ # Create the pwuser