I tried to build an image using based-php-nginx.Dockerfile with the following commands, but it ended exiting without building:
docker build -f base-php-nginx.Dockerfile -t t2lc/base-php-nginx .
If I'm not mistaken, this command line should make an image called t2lc/base-php-nginx from the file base-php-nginx.Dockerfile, but it won't
I outputed the command in the file attached (output.txt) and at the end, the terminal gave the following:
The command '/bin/sh -c NGINX_GPGKEY=573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62; found=''; for server in ha.pool.sks-keyservers.net hkp://keyserver.ubuntu.com:80 hkp://p80.pool.sks-keyservers.net:80 pgp.mit.edu ; do echo "Fetching GPG key $NGINX_GPGKEY from $server"; apt-key adv --keyserver "$server" --keyserver-options timeout=10 --recv-keys "$NGINX_GPGKEY" && found=yes && break; done; test -z "$found" && echo >&2 "error: failed to fetch GPG key $NGINX_GPGKEY" && exit 1; echo "deb http://nginx.org/packages/debian/ jessie nginx" >> /etc/apt/sources.list && apt-get update && apt-get install --no-install-recommends --no-install-suggests -y nginx=${NGINX_VERSION} nginx-module-xslt=${NGINX_VERSION} nginx-module-geoip=${NGINX_VERSION} nginx-module-image-filter=${NGINX_VERSION} nginx-module-njs=${NJS_VERSION} gettext-base && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1
Hi,
I tried to build an image using based-php-nginx.Dockerfile with the following commands, but it ended exiting without building: docker build -f base-php-nginx.Dockerfile -t t2lc/base-php-nginx .
If I'm not mistaken, this command line should make an image called t2lc/base-php-nginx from the file base-php-nginx.Dockerfile, but it won't
I outputed the command in the file attached (output.txt) and at the end, the terminal gave the following:
Thank you for your help.
Regards,
Thibault