Loading Dockerfile +5 −4 Original line number Diff line number Diff line Loading @@ -22,10 +22,11 @@ RUN echo "Acquire::http::proxy \"${HTTP_PROXY}\";" > /etc/apt/apt.conf.d/proxy RUN apt-get -qq update # PHP 7.x PPA repository RUN apt-get install -y wget lsb-release apt-transport-https ca-certificates RUN echo "http_proxy = ${HTTP_PROXY}" >> /etc/wgetrc RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list RUN apt-get install -y wget lsb-release apt-transport-https ca-certificates && \ echo "http_proxy = ${HTTP_PROXY}" >> /etc/wgetrc && \ echo "https_proxy = ${HTTP_PROXY}" >> /etc/wgetrc && \ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list # Installation des packages requis. RUN apt-get -qq update && \ Loading Dockerfile.sh +0 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,6 @@ EOF export PHP_VERSION="$1" export APACHE_CONF_DIR=/etc/apache2 export PHP_CONF_DIR=/etc/php/${PHP_VERSION} export HTTP_PROXY=${HTTP_PROXY} # Mise à niveau de la distrib echo "Acquire::http::proxy \"${HTTP_PROXY}\";" > /etc/apt/apt.conf.d/proxy Loading Loading
Dockerfile +5 −4 Original line number Diff line number Diff line Loading @@ -22,10 +22,11 @@ RUN echo "Acquire::http::proxy \"${HTTP_PROXY}\";" > /etc/apt/apt.conf.d/proxy RUN apt-get -qq update # PHP 7.x PPA repository RUN apt-get install -y wget lsb-release apt-transport-https ca-certificates RUN echo "http_proxy = ${HTTP_PROXY}" >> /etc/wgetrc RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list RUN apt-get install -y wget lsb-release apt-transport-https ca-certificates && \ echo "http_proxy = ${HTTP_PROXY}" >> /etc/wgetrc && \ echo "https_proxy = ${HTTP_PROXY}" >> /etc/wgetrc && \ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && \ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list # Installation des packages requis. RUN apt-get -qq update && \ Loading
Dockerfile.sh +0 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,6 @@ EOF export PHP_VERSION="$1" export APACHE_CONF_DIR=/etc/apache2 export PHP_CONF_DIR=/etc/php/${PHP_VERSION} export HTTP_PROXY=${HTTP_PROXY} # Mise à niveau de la distrib echo "Acquire::http::proxy \"${HTTP_PROXY}\";" > /etc/apt/apt.conf.d/proxy Loading