Skip to content

Commit 3d1864f

Browse files
committed
Make sure to only use wheels.
1 parent 832760d commit 3d1864f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ COPY --from=mod_cryptography / /wheels
7171
RUN \
7272
apk --no-cache add build-base curl python3 && \
7373
curl -# -L "https://bootstrap.pypa.io/get-pip.py" | python3 && \
74-
pip install --no-cache-dir --root=/tmp/certbot-install --prefix=/usr --find-links /wheels/ --prefer-binary certbot && \
74+
pip install --no-cache-dir --root=/tmp/certbot-install --prefix=/usr --find-links /wheels/ --prefer-binary --only-binary=:all: certbot && \
7575
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.so" -exec strip {} ';' && \
7676
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.h" -delete && \
7777
find /tmp/certbot-install/usr/lib/python3.10/site-packages -type f -name "*.c" -delete && \

0 commit comments

Comments
 (0)