mirror of
https://github.com/danog/php.git
synced 2025-01-22 04:51:20 +01:00
Fix gpg usage for alpine images
This commit is contained in:
parent
c107bad80c
commit
78ae437dd7
@ -35,7 +35,7 @@ RUN set -xe \
|
||||
&& curl -fSL "http://php.net/get/$PHP_FILENAME/from/this/mirror" -o "$PHP_FILENAME" \
|
||||
&& echo "$PHP_SHA256 *$PHP_FILENAME" | sha256sum -c - \
|
||||
&& curl -fSL "http://php.net/get/$PHP_FILENAME.asc/from/this/mirror" -o "$PHP_FILENAME.asc" \
|
||||
&& gpg --verify "$PHP_FILENAME.asc" \
|
||||
&& gpg --batch --verify "$PHP_FILENAME.asc" "$PHP_FILENAME" \
|
||||
&& mkdir -p /usr/src \
|
||||
&& tar -Jxf "$PHP_FILENAME" -C /usr/src \
|
||||
&& mv /usr/src/php-$PHP_VERSION /usr/src/php \
|
||||
|
@ -38,7 +38,7 @@ RUN set -xe \
|
||||
&& curl -fSL "http://php.net/get/$PHP_FILENAME/from/this/mirror" -o "$PHP_FILENAME" \
|
||||
&& echo "$PHP_SHA256 *$PHP_FILENAME" | sha256sum -c - \
|
||||
&& curl -fSL "http://php.net/get/$PHP_FILENAME.asc/from/this/mirror" -o "$PHP_FILENAME.asc" \
|
||||
&& gpg --verify "$PHP_FILENAME.asc" \
|
||||
&& gpg --batch --verify "$PHP_FILENAME.asc" "$PHP_FILENAME" \
|
||||
&& mkdir -p /usr/src \
|
||||
&& tar -Jxf "$PHP_FILENAME" -C /usr/src \
|
||||
&& mv /usr/src/php-$PHP_VERSION /usr/src/php \
|
||||
|
@ -35,7 +35,7 @@ RUN set -xe \
|
||||
&& curl -fSL "http://php.net/get/$PHP_FILENAME/from/this/mirror" -o "$PHP_FILENAME" \
|
||||
&& echo "$PHP_SHA256 *$PHP_FILENAME" | sha256sum -c - \
|
||||
&& curl -fSL "http://php.net/get/$PHP_FILENAME.asc/from/this/mirror" -o "$PHP_FILENAME.asc" \
|
||||
&& gpg --verify "$PHP_FILENAME.asc" \
|
||||
&& gpg --batch --verify "$PHP_FILENAME.asc" "$PHP_FILENAME" \
|
||||
&& mkdir -p /usr/src \
|
||||
&& tar -Jxf "$PHP_FILENAME" -C /usr/src \
|
||||
&& mv /usr/src/php-$PHP_VERSION /usr/src/php \
|
||||
|
@ -38,7 +38,7 @@ RUN set -xe \
|
||||
&& curl -fSL "http://php.net/get/$PHP_FILENAME/from/this/mirror" -o "$PHP_FILENAME" \
|
||||
&& echo "$PHP_SHA256 *$PHP_FILENAME" | sha256sum -c - \
|
||||
&& curl -fSL "http://php.net/get/$PHP_FILENAME.asc/from/this/mirror" -o "$PHP_FILENAME.asc" \
|
||||
&& gpg --verify "$PHP_FILENAME.asc" \
|
||||
&& gpg --batch --verify "$PHP_FILENAME.asc" "$PHP_FILENAME" \
|
||||
&& mkdir -p /usr/src \
|
||||
&& tar -Jxf "$PHP_FILENAME" -C /usr/src \
|
||||
&& mv /usr/src/php-$PHP_VERSION /usr/src/php \
|
||||
|
Loading…
x
Reference in New Issue
Block a user