mirror of
https://github.com/docker-library/php.git
synced 2025-08-20 13:53:47 +00:00
More resilient gpg getting
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user