mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
chore: remove Python from main Docker image (#12431)
This commit is contained in:
parent
90e76f9adb
commit
372a3219f3
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user