Fix a race condition caused by the gpg-agent
Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
parent
e833d8a4b7
commit
2ba0991533
@ -98,9 +98,8 @@ RUN set -ex; \
|
||||
# gpg key from https://nextcloud.com/nextcloud.asc
|
||||
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
||||
gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
|
||||
rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \
|
||||
tar -xjf nextcloud.tar.bz2 -C /usr/src/; \
|
||||
rm nextcloud.tar.bz2; \
|
||||
rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
|
||||
rm -rf /usr/src/nextcloud/updater; \
|
||||
mkdir -p /usr/src/nextcloud/data; \
|
||||
mkdir -p /usr/src/nextcloud/custom_apps; \
|
||||
|
@ -111,9 +111,8 @@ RUN set -ex; \
|
||||
# gpg key from https://nextcloud.com/nextcloud.asc
|
||||
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \
|
||||
gpg --batch --verify nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
|
||||
rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc; \
|
||||
tar -xjf nextcloud.tar.bz2 -C /usr/src/; \
|
||||
rm nextcloud.tar.bz2; \
|
||||
rm -r "$GNUPGHOME" nextcloud.tar.bz2.asc nextcloud.tar.bz2; \
|
||||
rm -rf /usr/src/nextcloud/updater; \
|
||||
mkdir -p /usr/src/nextcloud/data; \
|
||||
mkdir -p /usr/src/nextcloud/custom_apps; \
|
||||
|
Loading…
Reference in New Issue
Block a user