Skip to content

Commit

Permalink
testing FROM python:3.11-slim-buster + apt
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavydov authored Nov 17, 2022
1 parent edee692 commit 45413f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1

RUN pip install --upgrade pip

ARG TARGETPLATFORM

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-install-recommends \
gcc \
Expand All @@ -26,6 +28,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq -y --fix-missing --no-ins
&& if [ "${BUILDX_QEMU_ENV}" = "true" ] && [ "$(getconf LONG_BIT)" = "32" ]; then \
pip install -U cryptography==3.3.2; \
fi \
&& if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
apt-get -y install python3-pandas; \
sed -i '/pandas/d' requirements.txt; \
fi \
&& pip install -r requirements.txt \
&& pip cache purge \
&& apt-get remove -y gcc rustc \
Expand Down

0 comments on commit 45413f9

Please sign in to comment.