Fix gpg usage for alpine images

This commit is contained in:
Natanael Copa 2016-03-03 19:14:11 +01:00
parent c107bad80c
commit 78ae437dd7
4 changed files with 4 additions and 4 deletions

View File

@ -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 \

View File

@ -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 \

View File

@ -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 \

View File

@ -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 \