BretFisher / php-docker-good-defaults

*WORK IN PROGRESS* sample PHP/Laravel app for Docker examples
MIT License
362 stars 116 forks source link

Building based-php-nginx.Dockerfile #2

Open t2lc opened 6 years ago

t2lc commented 6 years ago

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:

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

Thank you for your help.

Regards,

Thibault

BretFisher commented 6 years ago

Yea I'm seeing a build failure due to mismatch of dependencies for nginx:

nginx : Depends: libssl1.0.0 (>= 1.0.1) but it is not installable

I'll have to dig in and see what changed.