From 703b18ac0f4e76052d6a3befc2124b22e44cabbe Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 29 Mar 2020 09:50:44 +0200 Subject: [PATCH] Move to py3 and pin versions --- Dockerfile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index c61000a..4476249 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,15 +7,10 @@ COPY . ${WORKDIR} COPY sbin/* /sbin/ -# TODO(decentral1se): install python3, pip3 instead +RUN apk --no-cache add ca-certificates mysql-client py3-pip -RUN apk --no-cache add \ - ca-certificates \ - mysql-client \ - py-pip +RUN pip3 install --upgrade pip==20.0.2 -RUN pip install --upgrade pip - -RUN pip install --no-cache-dir crudini +RUN pip3 install --no-cache-dir crudini==0.9 ENTRYPOINT ["/sbin/entrypoint.sh"]