diff --git a/Dockerfile b/Dockerfile index 3116ad7..945cd44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,7 +55,10 @@ 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 #Get required packages for building, build, then cleanup +#Added additional pip steps to fix cython 3.0.0 issue - https://github.com/yaml/pyyaml/issues/601 RUN apk add --no-cache --virtual .deps gcc python3-dev libc-dev libffi-dev && \ + /app/certbot/bin/pip install wheel && \ + /app/certbot/bin/pip install "Cython<3.0" pyyaml --no-build-isolation && \ /app/certbot/bin/pip install certbot certbot-dns-cloudflare && \ ln -s /app/certbot/bin/certbot /usr/bin/certbot &&\ apk del .deps