mirror of
https://github.com/danog/php.git
synced 2024-11-26 20:04:58 +01:00
Match multiple keys in update.sh since we have 2+ here
This commit is contained in:
parent
4c98e81721
commit
e98835b454
@ -33,7 +33,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/^(RUN gpg .* --recv-keys) [0-9a-fA-F ]*$/\1 '"$gpgKey"'/
|
||||
' "$version/Dockerfile"
|
||||
|
||||
awk -vf2="$insert" '/^\t&& make install \\$/{print f2;next}1' "$version/Dockerfile" "Dockerfile-apache-tail" > "$version/apache/Dockerfile"
|
||||
|
Loading…
Reference in New Issue
Block a user