More resilient gpg getting

This commit is contained in:
Joe Ferguson
2015-04-22 13:21:14 -07:00
parent f6aa601699
commit 1dcb6d1764
10 changed files with 46 additions and 10 deletions

View File

@ -49,7 +49,7 @@ for version in "${versions[@]}"; do
set -x
sed -ri '
s/^(ENV PHP_VERSION) .*/\1 '"$fullVersion"'/;
s/^(RUN gpg .* --recv-keys) [0-9a-fA-F ]*$/\1 '"$gpgKey"'/
s/^(ENV GPG_KEYS) [0-9a-fA-F ]*$/\1 '"$gpgKey"'/
' "$version/Dockerfile" "$version/"*/Dockerfile
)
done