summaryrefslogtreecommitdiffstats
path: root/docker-files
diff options
context:
space:
mode:
authorBharath Vignesh J K <52282402+razcrimson@users.noreply.github.com>2023-05-07 04:24:44 +0530
committerBharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com>2023-05-07 04:44:29 +0530
commit4843963bf5d1b249657b9ac08e768f1cf199e062 (patch)
tree838c35505124117ca181b3ec8953f5c572c32b0e /docker-files
parentf6141bf8f397f300525133a876385e03068be942 (diff)
chg: Dockerfile - attempt fix for alpine builds
Diffstat (limited to 'docker-files')
-rw-r--r--docker-files/alpine.Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker-files/alpine.Dockerfile b/docker-files/alpine.Dockerfile
index 5a102cfc..2b71b2ca 100644
--- a/docker-files/alpine.Dockerfile
+++ b/docker-files/alpine.Dockerfile
@@ -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