From e5f892ce7060450337a9cb5d0252238609f994f5 Mon Sep 17 00:00:00 2001 From: ofthesun9 Date: Mon, 15 Jun 2020 17:48:15 +0200 Subject: [PATCH] Adjust radicale Dockerfile for alpine:3.12 & layers optimisation --- optional/radicale/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/optional/radicale/Dockerfile b/optional/radicale/Dockerfile index 514072ce..2a2affe9 100644 --- a/optional/radicale/Dockerfile +++ b/optional/radicale/Dockerfile @@ -1,7 +1,13 @@ ARG DISTRO=alpine:3.12 FROM $DISTRO -RUN apk add --no-cache curl bash python3 \ +# python3 shared with most images +RUN apk add --no-cache \ + python3 py3-pip bash \ + && pip3 install --upgrade pip + +# Image specific layers under this line +RUN apk add --no-cache curl \ && pip3 install radicale==2.1.12 COPY radicale.conf /radicale.conf