From 02e22f9b03e9a577851031fa1162d7c1eeb13219 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 9 Jan 2022 21:46:55 +0100 Subject: [PATCH] chore: add build deps to Dockerfile (#220) --- docker/Dockerfile.amd64 | 3 ++- docker/Dockerfile.arm | 3 ++- docker/Dockerfile.arm64 | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index 10bff6c..cacd37b 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -8,10 +8,11 @@ LABEL org.opencontainers.image.source="https://github.com/thegeeklab/ansible-doc LABEL org.opencontainers.image.documentation="https://ansible-doctor.geekdocs.de/" ENV PY_COLORS=1 +ENV TZ=UTC ADD dist/ansible_doctor-*.whl / -RUN apk update && \ +RUN apk --update add --virtual .build-deps build-base libffi-dev openssl-dev && \ pip install --upgrade --no-cache-dir pip && \ pip install --no-cache-dir $(find / -name "ansible_doctor-*.whl") && \ rm -f ansible_doctor-*.whl && \ diff --git a/docker/Dockerfile.arm b/docker/Dockerfile.arm index 73637b4..438405f 100644 --- a/docker/Dockerfile.arm +++ b/docker/Dockerfile.arm @@ -8,10 +8,11 @@ LABEL org.opencontainers.image.source="https://github.com/thegeeklab/ansible-doc LABEL org.opencontainers.image.documentation="https://ansible-doctor.geekdocs.de/" ENV PY_COLORS=1 +ENV TZ=UTC ADD dist/ansible_doctor-*.whl / -RUN apk update && \ +RUN apk --update add --virtual .build-deps build-base libffi-dev openssl-dev && \ pip install --upgrade --no-cache-dir pip && \ pip install --no-cache-dir $(find / -name "ansible_doctor-*.whl") && \ rm -f ansible_doctor-*.whl && \ diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 95e926b..3891517 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -8,10 +8,11 @@ LABEL org.opencontainers.image.source="https://github.com/thegeeklab/ansible-doc LABEL org.opencontainers.image.documentation="https://ansible-doctor.geekdocs.de/" ENV PY_COLORS=1 +ENV TZ=UTC ADD dist/ansible_doctor-*.whl / -RUN apk update && \ +RUN apk --update add --virtual .build-deps build-base libffi-dev openssl-dev && \ pip install --upgrade --no-cache-dir pip && \ pip install --no-cache-dir $(find / -name "ansible_doctor-*.whl") && \ rm -f ansible_doctor-*.whl && \