From b6c76a5e39bc620ee9452f833446bc551c29f79d Mon Sep 17 00:00:00 2001 From: Pierre Jaury Date: Wed, 30 May 2018 00:28:44 +0200 Subject: [PATCH] Do not remove openssl when purging build deps, fixes #481 --- core/admin/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/admin/Dockerfile b/core/admin/Dockerfile index 72314aa6..0adc626c 100644 --- a/core/admin/Dockerfile +++ b/core/admin/Dockerfile @@ -4,7 +4,8 @@ RUN mkdir -p /app WORKDIR /app COPY requirements-prod.txt requirements.txt -RUN apk --update add --virtual build-dep openssl-dev libffi-dev python-dev build-base \ +RUN apk add --no-cache openssl \ + && apk add --no-cache --virtual build-dep openssl-dev libffi-dev python-dev build-base \ && pip install -r requirements.txt \ && apk del build-dep