Browse Source

Add "gpgconf --kill all" to bashbrew build Dockerfile (partially as a test for other images)

This helps combat the following race condition:

    + rm -rf /tmp/tmp.FHddOB
    rm: can't remove '/tmp/tmp.FHddOB/S.gpg-agent.browser': No such file or directory
Tianon Gravi 7 năm trước cách đây
mục cha
commit
5270557108
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      bashbrew/Dockerfile.release

+ 2 - 1
bashbrew/Dockerfile.release

@@ -51,7 +51,8 @@ RUN set -euxo pipefail; \
 		) \
 	done; \
 	\
-	rm -rf "$GNUPGHOME"; \
+	gpgconf --kill all; \
+	rm -r "$GNUPGHOME"; \
 	\
 	ls -lAFh bin/manifest-tool-*; \
 	file bin/manifest-tool-*