chore: remove Python from main Docker image (#12431)

This commit is contained in:
Max Schmitt 2022-03-10 19:51:35 +01:00 committed by GitHub
parent 90e76f9adb
commit 372a3219f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -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)

View File

@ -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