File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ FROM alpine:3.11.5 as builder
2
2
3
3
ARG PHP_VERSION=7.4.4
4
4
ARG COMPOSER_VERSION=1.10.1
5
- ARG PHP_URL=https://www.php.net/get /php-$PHP_VERSION.tar.xz/from/this/mirror
6
- ARG PHP_ASC_URL=https://www.php.net/get /php-$PHP_VERSION.tar.xz.asc/from/this/mirror
5
+ ARG PHP_URL=https://www.php.net/distributions /php-$PHP_VERSION.tar.xz
6
+ ARG PHP_ASC_URL=https://www.php.net/distributions /php-$PHP_VERSION.tar.xz.asc
7
7
ENV GPG_KEYS 42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
8
8
9
9
ENV PHP_INI_DIR /usr/local/etc/php
@@ -13,8 +13,8 @@ RUN set -ex \
13
13
&& apk add --no-cache curl gnupg \
14
14
&& mkdir -p /usr/src \
15
15
&& cd /usr/src \
16
- && curl -fsSL -o php.tar.xz $PHP_URL \
17
- && curl -fsSL -o php.tar.xz.asc $PHP_ASC_URL \
16
+ && curl -fsSL -o php.tar.xz " $PHP_URL" \
17
+ && curl -fsSL -o php.tar.xz.asc " $PHP_ASC_URL" \
18
18
&& export GNUPGHOME="$(mktemp -d)" ; \
19
19
for key in $GPG_KEYS; do \
20
20
gpg --batch --keyserver ha.pool.sks-keyservers.net --keyserver-options timeout=10 --recv-keys "$key" || \
You can’t perform that action at this time.
0 commit comments