Merge pull request #71 from PrivateBin/gpg-agent-fix

ensure gpg-agent is dead, before deleting the $GNUPGHOME
This commit is contained in:
El RIDO 2021-09-29 19:09:00 +02:00 committed by GitHub
commit ea2e42977c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,7 @@ RUN \
&& chown -R ${UID}:${GID} /etc/s6 /run /srv/* /var/lib/nginx /var/www \
&& chmod o+rwx /run /var/lib/nginx /var/lib/nginx/tmp \
# Clean up
&& gpgconf --kill gpg-agent \
&& rm -rf /tmp/* \
&& apk del --no-cache gnupg git ssl_client ${ALPINE_COMPOSER_PACKAGES}