Fix "gpg" usage to stop relying on deprecated and insecure behavior

This commit is contained in:
Tianon Gravi 2016-02-29 08:38:54 -08:00
parent 7bd5c38db9
commit 8943e1e6a9
12 changed files with 12 additions and 12 deletions

View File

@ -38,7 +38,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -51,7 +51,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -39,7 +39,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -39,7 +39,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -38,7 +38,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -51,7 +51,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -39,7 +39,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -39,7 +39,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -38,7 +38,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -51,7 +51,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -39,7 +39,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \

View File

@ -39,7 +39,7 @@ RUN buildDeps=" \
&& 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/php \
&& tar -xf "$PHP_FILENAME" -C /usr/src/php --strip-components=1 \
&& rm "$PHP_FILENAME"* \