Move to py3 and pin versions

This commit is contained in:
Luke Murphy 2020-03-29 09:50:44 +02:00
parent e861a6cc7a
commit 703b18ac0f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -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"]