From 4843963bf5d1b249657b9ac08e768f1cf199e062 Mon Sep 17 00:00:00 2001 From: Bharath Vignesh J K <52282402+razcrimson@users.noreply.github.com> Date: Sun, 7 May 2023 04:24:44 +0530 Subject: [PATCH] chg: Dockerfile - attempt fix for alpine builds --- docker-files/alpine.Dockerfile | 6 +++--- 1 file 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