You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Linux xxxx 3.19.0-18-generic #18~14.04.1-Ubuntu SMP Wed May 20 09:38:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux``
I placed the content provided here into Dockerfile & ran 'docker build .' in the same dir. The build fails when the nginx package tries to adduser - see output below.
Any suggestions??
Sending build context to Docker daemon 3.072 kB
Sending build context to Docker daemon
Step 0 : FROM debian:jessie
---> 9a61b6b1315e
Step 1 : MAINTAINER NGINX Docker Maintainers "docker-maint@nginx.com"
---> Running in 394095f976d9
---> 27594f224a65
Removing intermediate container 394095f976d9
Step 2 : RUN apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
---> Running in 94d5566568b1
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.YYIZFlvFTj --no-auto-check-trustdb --trust-model always --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
gpg: requesting key 7BD9BF62 from hkp server pgp.mit.edu
gpg: key 7BD9BF62: public key "nginx signing key <signing-key@nginx.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
---> 7169ca42e4d6
Removing intermediate container 94d5566568b1
Step 3 : RUN echo "deb http://nginx.org/packages/mainline/debian/ jessie nginx" >> /etc/apt/sources.list
---> Running in 999bd68ff086
---> affd8376b9bc
Removing intermediate container 999bd68ff086
Step 4 : ENV NGINX_VERSION 1.9.3-1~jessie
---> Running in 40ea7f3658d0
---> eea2c22afd38
Removing intermediate container 40ea7f3658d0
Step 5 : RUN apt-get update && apt-get install -y ca-certificates nginx=${NGINX_VERSION} && rm -rf /var/lib/apt/lists/*
---> Running in d2dc9f42330f
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://nginx.org jessie InRelease
Get:2 http://httpredir.debian.org jessie InRelease [134 kB]
Get:3 http://httpredir.debian.org jessie-updates InRelease [123 kB]
Get:4 http://nginx.org jessie Release.gpg [287 B]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [165 kB]
Get:6 http://httpredir.debian.org jessie/main amd64 Packages [9038 kB]
Get:7 http://nginx.org jessie Release [2307 B]
Get:8 http://nginx.org jessie/nginx amd64 Packages [827 B]
Get:9 http://httpredir.debian.org jessie-updates/main amd64 Packages [3614 B]
Fetched 9530 kB in 11s (815 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libssl1.0.0 openssl
The following NEW packages will be installed:
ca-certificates libssl1.0.0 nginx openssl
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 2395 kB of archives.
After this operation, 5913 kB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libssl1.0.0 amd64 1.0.1k-3+deb8u1 [1038 kB]
Get:2 http://nginx.org/packages/mainline/debian/ jessie/nginx nginx amd64 1.9.3-1~jessie [480 kB]
Get:3 http://httpredir.debian.org/debian/ jessie/main ca-certificates all 20141019 [200 kB]
Get:4 http://security.debian.org/ jessie/updates/main openssl amd64 1.0.1k-3+deb8u1 [677 kB]
**debconf: delaying package configuration, since apt-utils is not installed**
Fetched 2395 kB in 2s (1063 kB/s)
Selecting previously unselected package libssl1.0.0:amd64.
(Reading database ... 7528 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1k-3+deb8u1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1k-3+deb8u1) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.1k-3+deb8u1_amd64.deb ...
Unpacking openssl (1.0.1k-3+deb8u1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20141019_all.deb ...
Unpacking ca-certificates (20141019) ...
Selecting previously unselected package nginx.
Preparing to unpack .../nginx_1.9.3-1~jessie_amd64.deb ...
chfn: PAM: System error
adduser: `/usr/bin/chfn -f nginx user nginx' returned error code 1. Exiting.
dpkg: error processing archive /var/cache/apt/archives/nginx_1.9.3-1~jessie_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/nginx_1.9.3-1~jessie_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
2015/08/16 23:33:21 The command [/bin/sh -c apt-get update && apt-get install -y ca-certificates nginx=${NGINX_VERSION} && rm -rf /var/lib/apt/lists/*] returned a non-zero code: 100
The text was updated successfully, but these errors were encountered:
I'm on a Mint host:
`Linux xxxx 3.19.0-18-generic #18~14.04.1-Ubuntu SMP Wed May 20 09:38:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux``
I placed the content provided here into Dockerfile & ran 'docker build .' in the same dir. The build fails when the nginx package tries to adduser - see output below.
Any suggestions??
The text was updated successfully, but these errors were encountered: