1
0

Cleaner use of apk in install_acme.sh

This commit is contained in:
Nicolas Duchon 2020-11-17 17:51:56 +01:00
parent 26f61150a1
commit c2ca8ef944
No known key found for this signature in database
GPG Key ID: EA3151C66A4D79E7

View File

@ -3,7 +3,7 @@
set -e
# Install git (required to fetch acme.sh)
apk --update add git
apk --no-cache --virtual .acmesh-deps add git
# Get acme.sh Let's Encrypt client source
tag="2.8.7"
@ -22,5 +22,4 @@ git checkout "$tag"
# Make house cleaning
cd /
rm -rf /src
apk del git
rm -rf /var/cache/apk/*
apk del .acmesh-deps