🐛 fix wheel not found

This commit is contained in:
踢低吸 2022-06-08 08:39:12 +08:00 committed by GitHub
parent 0e4df5d5d8
commit 7df1f250c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,6 +95,8 @@ runcmd 'apk add python3 openresty nodejs yarn openssl apache2-utils logrotate $D
log "Setting up python" log "Setting up python"
python3 -m venv /opt/certbot/ python3 -m venv /opt/certbot/
runcmd python3 -m ensurepip --upgrade runcmd python3 -m ensurepip --upgrade
# Before Install certbot make sure pip and wheel are update and installed.
runcmd pip3 install --no-cache-dir pip wheel
# Install certbot and python dependancies # Install certbot and python dependancies
runcmd pip3 install --no-cache-dir -U cryptography==3.3.2 runcmd pip3 install --no-cache-dir -U cryptography==3.3.2
runcmd pip3 install --no-cache-dir cffi certbot runcmd pip3 install --no-cache-dir cffi certbot