switch to slim python
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
IamTheFij 2021-01-20 17:42:27 -08:00
parent a752c67dad
commit 9a8445e6ec

View File

@ -4,7 +4,7 @@ FROM multiarch/qemu-user-static:4.2.0-2 as qemu-user-static
# Make sure a dummy x86_64 file exists so that the copy command doesn't error
# RUN touch /usr/bin/qemu-x86_64-fake
FROM ${REPO}/python:3-alpine
FROM ${REPO}/python:3-slim
# Copy mutliarch file to run builds on x86_64
ARG ARCH=x86_64
@ -19,7 +19,6 @@ ENV CF_VERSION=2.8.15
ADD https://raw.githubusercontent.com/cloudflare/python-cloudflare/$CF_VERSION/examples/example_update_dynamic_dns.py ./update_ddns.py
RUN chmod +rx ./update_ddns.py
RUN python -m pip install -U setuptools
RUN python -m pip install --no-cache-dir cloudflare==$CF_VERSION
ENV DOMAIN=""