From 12c5cc0b262059a3940965bb055e6cbda454ed82 Mon Sep 17 00:00:00 2001 From: MrMeeb Date: Tue, 20 Jun 2023 22:14:44 +0000 Subject: [PATCH] add build dependencies for arm --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ae0490a..2437037 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,11 @@ ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSI RUN python3 -m venv /app/certbot/ && /app/certbot/bin/pip install --upgrade pip -RUN /app/certbot/bin/pip install certbot certbot-dns-cloudflare && \ - ln -s /app/certbot/bin/certbot /usr/bin/certbot +#Get required packages for building, build, then cleanup +RUN apk add --no-cache --virtual .deps gcc python3-dev libc-dev libffi-dev && \ + /app/certbot/bin/pip install certbot certbot-dns-cloudflare && \ + ln -s /app/certbot/bin/certbot /usr/bin/certbot &&\ + apk del .deps COPY root /