Browse Source

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
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
Axel Gembe 6 years ago
committed by SomberNight
parent
commit
84ca7ef306
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      contrib/build_tools_util.sh

3
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'

Loading…
Cancel
Save