From 84ca7ef3060cc00e87fb41a18038d66c008a5624 Mon Sep 17 00:00:00 2001 From: Axel Gembe Date: Tue, 23 Jul 2019 21:24:32 +0200 Subject: [PATCH] Build: Set a fixed umask before starting Docker Umask seems to leak into Docker containers and causes the build to not be reproducible accross different umasks. ----- taken from Electron-Cash/Electron-Cash@984967b4080095354dac5d1e652563f331103f5f --- contrib/build_tools_util.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/build_tools_util.sh b/contrib/build_tools_util.sh index 94d2cdbe9..9cba7cb4f 100755 --- a/contrib/build_tools_util.sh +++ b/contrib/build_tools_util.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +# Set a fixed umask as this leaks into docker containers +umask 0022 + RED='\033[0;31m' BLUE='\033[0;34m' YELLOW='\033[0;33m'