back to ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
This commit is contained in:
@@ -10,8 +10,6 @@ ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
|
|||||||
|
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends \
|
||||||
gcc \
|
gcc \
|
||||||
@@ -28,11 +26,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-ins
|
|||||||
&& if [ "${BUILDX_QEMU_ENV}" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then \
|
&& if [ "${BUILDX_QEMU_ENV}" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then \
|
||||||
pip install -U cryptography==3.3.2; \
|
pip install -U cryptography==3.3.2; \
|
||||||
fi \
|
fi \
|
||||||
&& if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
|
|
||||||
apt-get -y install python3-pandas; \
|
|
||||||
sed -i '/pandas/d' requirements.txt; \
|
|
||||||
ln -sf /usr/bin/python3.7 /usr/local/bin/python; \
|
|
||||||
fi \
|
|
||||||
&& pip install -r requirements.txt \
|
&& pip install -r requirements.txt \
|
||||||
&& pip cache purge \
|
&& pip cache purge \
|
||||||
&& apt-get remove -y gcc rustc \
|
&& apt-get remove -y gcc rustc \
|
||||||
|
|||||||
Reference in New Issue
Block a user