浏览代码

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 年之前
父节点
当前提交
5270557108
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      bashbrew/Dockerfile.release

+ 2 - 1
bashbrew/Dockerfile.release

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