@@ -15,7 +15,7 @@ ENV RUBY_VERSION="2.6.5" \
1515 PYTHON_37_VERSION="3.7.4" \
1616 PYTHON_VERSION="3.8.0" \
1717 PHP_VERSION=7.3.10 \
18- JAVA_VERSION=11 \
18+ JAVA_VERSION=11 \
1919 NODE_VERSION="12.13.0" \
2020 NODE_10_VERSION="10.16.3" \
2121 NODE_8_VERSION="8.16.0" \
@@ -27,7 +27,7 @@ ENV RUBY_VERSION="2.6.5" \
2727ARG CHINA_REGION
2828
2929# **************** Utilities *********************************************
30- ENV DOCKER_BUCKET="download.docker.com" \
30+ ENV DOCKER_BUCKET="download.docker.com" \
3131 DOCKER_CHANNEL="stable" \
3232 DOCKER_SHA256="0259f8b6572f02cf0dafd7388ca0e4adfdbbfaba81cfb1b7443e89fccbed22c7" \
3333 DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" \
@@ -301,20 +301,24 @@ RUN cd /usr/local/python38/bin \
301301 update-alternatives --set $tool $tool_path; \
302302 done \
303303 && rm -fr /tmp/* /var/tmp/*
304+
304305# **************** END PYTHON *********************************************
305306
306307# **************** PHP ****************************************************
307308 ENV GPG_KEYS CBAF69F173A0FEA4B537F470D66C9593118BCCB6 F38252826ACD957EF380D39F2F7956BC5DA04B5D
309+
308310 ENV PHP_DOWNLOAD_SHA="42f00a15419e05771734b7159c8d39d639b8a5a6770413adfa2615f6f923d906" \
309311 PHPPATH="/php" \
310312 PHP_INI_DIR="/usr/local/etc/php" \
311313 PHP_CFLAGS="-fstack-protector -fpic -fpie -O2" \
312314 PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
315+
313316 ENV PHP_SRC_DIR="$SRC_DIR/php" \
314317 PHP_CPPFLAGS="$PHP_CFLAGS" \
315318 PHP_URL="https://secure.php.net/get/php-$PHP_VERSION.tar.xz/from/this/mirror" \
316319 PHP_ASC_URL="https://secure.php.net/get/php-$PHP_VERSION.tar.xz.asc/from/this/mirror"
317- RUN set -xe; \
320+
321+ RUN set -xe; \
318322 mkdir -p $SRC_DIR; \
319323 cd $SRC_DIR; \
320324 yum install -yq curl-devel; \
@@ -389,6 +393,7 @@ RUN cd /usr/local/python38/bin \
389393
390394 # Install Composer globally
391395 RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
396+
392397# **************** END PHP ****************************************************
393398
394399# **************** NODEJS ****************************************************
@@ -462,7 +467,7 @@ RUN set -ex \
462467 && update-alternatives --install /usr/bin/ant ant /opt/apache-ant-$ANT_VERSION/bin/ant 10000 \
463468 # Install Maven
464469 && mkdir -p $MAVEN_HOME \
465- && curl -LSso /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz https://apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \
470+ && curl -LSso /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz https://archive. apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \
466471 && echo "$MAVEN_DOWNLOAD_SHA512 /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz" | sha512sum -c - \
467472 && tar xzf /var/tmp/apache-maven-$MAVEN_VERSION-bin.tar.gz -C $MAVEN_HOME --strip-components=1 \
468473 && update-alternatives --install /usr/bin/mvn mvn /opt/maven/bin/mvn 10000 \
0 commit comments