summaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian.template
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2018-06-05 00:05:52 +0200
committerJ0WI <J0WI@users.noreply.github.com>2018-06-05 00:05:52 +0200
commit2714a3cc742f9ba0e1331853f2a162a8fa1e4753 (patch)
tree53376b0dc5a27245dc8291b59c5a7211150348b6 /Dockerfile-debian.template
parentf42c63ea485eb6829e3d1a7658653ae63f22da45 (diff)
Adjust gpg code to kill daemons, cutting down on race conditions
Diffstat (limited to 'Dockerfile-debian.template')
-rw-r--r--Dockerfile-debian.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template
index eb21a29c..d728d94e 100644
--- a/Dockerfile-debian.template
+++ b/Dockerfile-debian.template
@@ -114,6 +114,7 @@ RUN set -ex; \
gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
busybox killall gpg-agent || true; \
tar -xjf nextcloud.tar.bz2 -C /usr/src/; \
+ gpgconf --kill all; \
rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
rm -rf /usr/src/nextcloud/updater; \
mkdir -p /usr/src/nextcloud/data; \