Skip to content

Commit

Permalink
Make sure to only use wheels.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage committed Nov 9, 2023
1 parent 832760d commit 3d1864f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ COPY --from=mod_cryptography / /wheels
RUN \
apk --no-cache add build-base curl python3 && \
curl -# -L "https://bootstrap.pypa.io/get-pip.py" | python3 && \
pip install --no-cache-dir --root=/tmp/certbot-install --prefix=/usr --find-links /wheels/ --prefer-binary certbot && \
pip install --no-cache-dir --root=/tmp/certbot-install --prefix=/usr --find-links /wheels/ --prefer-binary --only-binary=:all: certbot && \
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.so" -exec strip {} ';' && \
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.h" -delete && \
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.c" -delete && \
Expand Down

0 comments on commit 3d1864f

Please sign in to comment.