Skip to content

Commit a4503e9

Browse files
committed
Fix typo
1 parent 95cfdd7 commit a4503e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM alpine:3.11.5 as builder
22

33
ARG PHP_VERSION=7.4.4
44
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
77
ENV GPG_KEYS 42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
88

99
ENV PHP_INI_DIR /usr/local/etc/php
@@ -13,8 +13,8 @@ RUN set -ex \
1313
&& apk add --no-cache curl gnupg \
1414
&& mkdir -p /usr/src \
1515
&& 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" \
1818
&& export GNUPGHOME="$(mktemp -d)"; \
1919
for key in $GPG_KEYS; do \
2020
gpg --batch --keyserver ha.pool.sks-keyservers.net --keyserver-options timeout=10 --recv-keys "$key" || \

0 commit comments

Comments
 (0)