chg: Dockerfile - attempt fix for alpine builds

pull/2369/head
Bharath Vignesh J K 2023-05-07 04:24:44 +05:30 committed by Bharath Vignesh J K
parent f6141bf8f3
commit 4843963bf5
1 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,9 @@ RUN apk add --no-cache \
wireless-tools \
smartmontools \
iputils \
tzdata
tzdata \
# Required for 'cryptography' dependency
gcc libffi-dev openssl-dev cargo pkgconfig
##############################################################################
# Install the dependencies beforehand to make them cacheable
@ -36,8 +38,6 @@ RUN apk add --no-cache \
FROM build as buildRequirements
ARG PYTHON_VERSION
RUN pip3 install --no-cache-dir --user --upgrade pip
COPY requirements.txt .
RUN pip3 install --no-cache-dir --user -r requirements.txt