feat: adding pip to base image

This commit is contained in:
Callum James Tait 2021-05-24 22:30:04 +01:00 committed by Yusuke Kuoka
parent 7638c21e92
commit 726b39aedd
3 changed files with 9 additions and 3 deletions

View File

@ -37,7 +37,9 @@ RUN apt update -y \
wget \ wget \
zip \ zip \
zstd \ zstd \
python-is-python3 \ python3-pip \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \

View File

@ -32,9 +32,11 @@ RUN apt update -y \
wget \ wget \
zip \ zip \
zstd \ zstd \
python-is-python3 \
iptables \ iptables \
supervisor \ supervisor \
python3-pip \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
&& rm -rf /var/lib/apt/list/* && rm -rf /var/lib/apt/list/*
# Runner user # Runner user

View File

@ -37,7 +37,9 @@ RUN apt update -y \
wget \ wget \
zip \ zip \
zstd \ zstd \
&& cd /usr/bin && ln -sf python3 python \ python3-pip \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \ RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \