Skip to content

Commit cca8553

Browse files
committed
Merge pull request #5 from docker-library-php/use-php-mirrors
use php.net as host, to allow mirror redirects
2 parents 4584603 + e19f152 commit cca8553

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

5.3/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ RUN set -x \
1212
&& dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb \
1313
&& dpkg -i bison_2.7.1.dfsg-1_amd64.deb \
1414
&& rm *.deb \
15-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
16-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
15+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
16+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
1717
&& gpg --verify php.tar.bz2.asc \
1818
&& mkdir -p /usr/src/php \
1919
&& tar -xvf php.tar.bz2 -C /usr/src/php --strip-components=1 \

5.3/apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ RUN set -x \
1212
&& dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb \
1313
&& dpkg -i bison_2.7.1.dfsg-1_amd64.deb \
1414
&& rm *.deb \
15-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
16-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
15+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
16+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
1717
&& gpg --verify php.tar.bz2.asc \
1818
&& mkdir -p /usr/src/php \
1919
&& tar -xvf php.tar.bz2 -C /usr/src/php --strip-components=1 \

5.4/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ RUN set -x \
1111
&& dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb \
1212
&& dpkg -i bison_2.7.1.dfsg-1_amd64.deb \
1313
&& rm *.deb \
14-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
14+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
1616
&& gpg --verify php.tar.bz2.asc \
1717
&& mkdir -p /usr/src/php \
1818
&& tar -xvf php.tar.bz2 -C /usr/src/php --strip-components=1 \

5.4/apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ RUN set -x \
1111
&& dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb \
1212
&& dpkg -i bison_2.7.1.dfsg-1_amd64.deb \
1313
&& rm *.deb \
14-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
14+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
1616
&& gpg --verify php.tar.bz2.asc \
1717
&& mkdir -p /usr/src/php \
1818
&& tar -xvf php.tar.bz2 -C /usr/src/php --strip-components=1 \

5.5/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ RUN set -x \
1111
&& dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb \
1212
&& dpkg -i bison_2.7.1.dfsg-1_amd64.deb \
1313
&& rm *.deb \
14-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
14+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
1616
&& gpg --verify php.tar.bz2.asc \
1717
&& mkdir -p /usr/src/php \
1818
&& tar -xvf php.tar.bz2 -C /usr/src/php --strip-components=1 \

5.5/apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ RUN set -x \
1111
&& dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb \
1212
&& dpkg -i bison_2.7.1.dfsg-1_amd64.deb \
1313
&& rm *.deb \
14-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
14+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
1616
&& gpg --verify php.tar.bz2.asc \
1717
&& mkdir -p /usr/src/php \
1818
&& tar -xvf php.tar.bz2 -C /usr/src/php --strip-components=1 \

5.6/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ RUN set -x \
1111
&& dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb \
1212
&& dpkg -i bison_2.7.1.dfsg-1_amd64.deb \
1313
&& rm *.deb \
14-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
14+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
1616
&& gpg --verify php.tar.bz2.asc \
1717
&& mkdir -p /usr/src/php \
1818
&& tar -xvf php.tar.bz2 -C /usr/src/php --strip-components=1 \

5.6/apache/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ RUN set -x \
1111
&& dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb \
1212
&& dpkg -i bison_2.7.1.dfsg-1_amd64.deb \
1313
&& rm *.deb \
14-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15-
&& curl -SL "http://us2.php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
14+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2/from/this/mirror" -o php.tar.bz2 \
15+
&& curl -SL "http://php.net/get/php-$PHP_VERSION.tar.bz2.asc/from/this/mirror" -o php.tar.bz2.asc \
1616
&& gpg --verify php.tar.bz2.asc \
1717
&& mkdir -p /usr/src/php \
1818
&& tar -xvf php.tar.bz2 -C /usr/src/php --strip-components=1 \

0 commit comments

Comments
 (0)