mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-09-27 02:25:54 +02:00
Cleaner use of apk in install_acme.sh
This commit is contained in:
parent
26f61150a1
commit
c2ca8ef944
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user