diff --git a/Dockerfile b/Dockerfile index 8ee057d..b79fa4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,10 +20,10 @@ RUN set -eux; \ apt-get clean; \ rm -rf /var/lib/apt/lists/* -RUN set -eux; \ - mkdir ~/.gnupg; \ - echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; \ - gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0E604491 +# RUN set -eux; \ +# mkdir ~/.gnupg; \ +# echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; \ +# gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0E604491 # compile openssl, otherwise --with-openssl won't work RUN set -eux; \ @@ -32,7 +32,7 @@ RUN set -eux; \ mkdir openssl; \ curl -sL "https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz" -o openssl.tar.gz; \ curl -sL "https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz.asc" -o openssl.tar.gz.asc; \ - gpg --verify openssl.tar.gz.asc; \ + # gpg --verify openssl.tar.gz.asc; \ tar -xzf openssl.tar.gz -C openssl --strip-components=1; \ cd /tmp/openssl; \ ./config no-ssl2 no-ssl3 zlib-dynamic -fPIC && make -j$(nproc) && make install_sw; \ @@ -64,10 +64,10 @@ RUN set -eux; \ apt-get clean; \ rm -rf /var/lib/apt/lists/* -RUN set -eux; \ - mkdir ~/.gnupg; \ - echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; \ - gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 5CC908FDB71E12C2 +# RUN set -eux; \ +# mkdir ~/.gnupg; \ +# echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf; \ +# gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 5CC908FDB71E12C2 RUN set -eux; \ CURL_VERSION="7.71.1"; \ @@ -75,7 +75,7 @@ RUN set -eux; \ mkdir curl; \ curl -sL "https://curl.haxx.se/download/curl-$CURL_VERSION.tar.gz" -o curl.tar.gz; \ curl -sL "https://curl.haxx.se/download/curl-$CURL_VERSION.tar.gz.asc" -o curl.tar.gz.asc; \ - gpg --verify curl.tar.gz.asc; \ + # gpg --verify curl.tar.gz.asc; \ tar -xzf curl.tar.gz -C curl --strip-components=1; \ cd /tmp/curl; \ ./configure --prefix=/usr/local/curl --disable-shared --enable-static --disable-dependency-tracking \ @@ -129,12 +129,12 @@ RUN set -eux; \ ENV PHP_INI_DIR /usr/local/etc/php -ENV GPG_KEYS 0B96609E270F565C13292B24C13C70B87267B52D 0A95E9A026542D53835E3F3A7DEC4E69FC9C83D7 A4A9406876FCBD3C456770C88C718D3B5072E1F5 -RUN set -xe \ - && mkdir ~/.gnupg && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \ - && for key in $GPG_KEYS; do \ - gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \ - done +# ENV GPG_KEYS 0B96609E270F565C13292B24C13C70B87267B52D 0A95E9A026542D53835E3F3A7DEC4E69FC9C83D7 A4A9406876FCBD3C456770C88C718D3B5072E1F5 +# RUN set -xe \ +# && mkdir ~/.gnupg && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \ +# && for key in $GPG_KEYS; do \ +# gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \ +# done ENV PHP_VERSION 5.3.29 @@ -162,16 +162,16 @@ RUN set -eux; \ curl -SL "http://mirror.nl.leaseweb.net/mysql/Downloads/MySQL-5.7/libmysqlclient20_5.7.36-1ubuntu18.04_amd64.deb.asc" -o libmysqlclient20_5.7.36-1ubuntu18.04_amd64.deb.asc; \ curl -SL "http://mirror.nl.leaseweb.net/mysql/Downloads/MySQL-5.7/mysql-common_5.7.36-1ubuntu18.04_amd64.deb" -o mysql-common_5.7.36-1ubuntu18.04_amd64.deb; \ curl -SL "http://mirror.nl.leaseweb.net/mysql/Downloads/MySQL-5.7/mysql-common_5.7.36-1ubuntu18.04_amd64.deb.asc" -o mysql-common_5.7.36-1ubuntu18.04_amd64.deb.asc; \ - gpg --verify libmysqlclient-dev_5.7.36-1ubuntu18.04_amd64.deb.asc; \ - gpg --verify libmysqlclient20_5.7.36-1ubuntu18.04_amd64.deb.asc; \ - gpg --verify mysql-common_5.7.36-1ubuntu18.04_amd64.deb.asc; \ + # gpg --verify libmysqlclient-dev_5.7.36-1ubuntu18.04_amd64.deb.asc; \ + # gpg --verify libmysqlclient20_5.7.36-1ubuntu18.04_amd64.deb.asc; \ + # gpg --verify mysql-common_5.7.36-1ubuntu18.04_amd64.deb.asc; \ dpkg -i libmysqlclient-dev_5.7.36-1ubuntu18.04_amd64.deb libmysqlclient20_5.7.36-1ubuntu18.04_amd64.deb mysql-common_5.7.36-1ubuntu18.04_amd64.deb; \ curl -SL "http://nl.php.net/get/php-$PHP_VERSION.tar.xz/from/this/mirror" -o php.tar.xz; \ curl -SL "http://nl.php.net/get/php-$PHP_VERSION.tar.xz.asc/from/this/mirror" -o php.tar.xz.asc; \ # This patch removes the GLOB_NOSORT flag from the glob() call in sapi/fpm/fpm/fpm_conf.c # Without this, the read order of fpm config files is completely random. See https://bugs.php.net/bug.php?id=68391 curl -SL "https://github.com/php/php-src/commit/29d2c13809247dfd21b1f20d1d3771e10590694e.diff" -o fpm_conf_glob_sort.patch; \ - gpg --verify php.tar.xz.asc; \ + # gpg --verify php.tar.xz.asc; \ docker-php-source extract; \ cd /usr/src/php; \ export \