From c2896a9caf0ba0a277447dfd511413460fc21013 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 7 May 2020 13:55:21 +0100 Subject: [PATCH] Persist GPG keys for Linux builds via Docker Each build command via Docker for Linux builds creates a separate writable layer from scratch, so anything shared between commands needs to persist on the host. This adds the container's GPG keys, so that the riot-web GPG key can be imported in one step and verified in the next. Fixes https://github.com/vector-im/riot-web/issues/13545 --- scripts/in-docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/in-docker.sh b/scripts/in-docker.sh index 9758fc3..4e72d40 100755 --- a/scripts/in-docker.sh +++ b/scripts/in-docker.sh @@ -14,6 +14,7 @@ docker run --rm -ti \ -v ${PWD}:/project \ -v ${PWD}/docker/node_modules:/project/node_modules \ -v ${PWD}/docker/.hak:/project/.hak \ + -v ${PWD}/docker/.gnupg:/root/.gnupg \ -v ~/.cache/electron:/root/.cache/electron \ -v ~/.cache/electron-builder:/root/.cache/electron-builder \ riot-desktop-dockerbuild "$@"