Skip to content

Conversation

adobejmong
Copy link
Collaborator

@adobejmong adobejmong commented Aug 31, 2020

Hi @bryanlatten

PR to bump docker-base from 2.6 to 2.7

Build output

Alpine

$ docker build -t docker-nginx:test-alpine -f Dockerfile-alpine .
Sending build context to Docker daemon  64.51kB
Step 1/9 : FROM behance/docker-base:2.7-alpine
2.7-alpine: Pulling from behance/docker-base
89d0a46dfb68: Pull complete 
Digest: sha256:0750f4a94e255bf8c2e315293f4f92f53395a8ab45a4de18489cbae09203365e
Status: Downloaded newer image for behance/docker-base:2.7-alpine
 ---> 4f832b387f57
Step 2/9 : MAINTAINER Bryan Latten <latten@adobe.com>
 ---> Running in 95fdce1e08be
Removing intermediate container 95fdce1e08be
 ---> cd32688f64bd
Step 3/9 : ENV CONTAINER_ROLE=web     CONTAINER_PORT=8080     CONF_NGINX_SITE="/etc/nginx/sites-available/default"     CONF_NGINX_SERVER="/etc/nginx/nginx.conf"     NOT_ROOT_USER=www-data     S6_KILL_FINISH_MAXTIME=55000
 ---> Running in 2d1ef6443d8b
Removing intermediate container 2d1ef6443d8b
 ---> c85786c83fb2
Step 4/9 : EXPOSE ${CONTAINER_PORT}
 ---> Running in 1a06adfd4794
Removing intermediate container 1a06adfd4794
 ---> be2be320ec95
Step 5/9 : RUN adduser -D -S -H $NOT_ROOT_USER
 ---> Running in cfd72d3c6c06
Removing intermediate container cfd72d3c6c06
 ---> 49cf9ff5ef62
Step 6/9 : RUN apk update --no-cache &&     apk add         ca-certificates         nginx     &&     /bin/bash -e /clean.sh
 ---> Running in f5afcb426aee
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
v3.11.6-126-gda4d6d28b6 [http://dl-cdn.alpinelinux.org/alpine/v3.11/main]
v3.11.6-127-g5df837bcaf [http://dl-cdn.alpinelinux.org/alpine/v3.11/community]
v20200626-3221-ga269918b65 [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 15332 distinct packages available
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(1/2) Installing ca-certificates (20191127-r2)
(2/2) Installing nginx (1.16.1-r6)
Executing nginx-1.16.1-r6.pre-install
Executing busybox-1.31.1-r9.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 10 MiB in 23 packages
Removing intermediate container f5afcb426aee
 ---> cb8c849717dd
Step 7/9 : COPY --chown=www-data ./container/root /
 ---> 5bde8228f20c
Step 8/9 : RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE &&     bash -c "chown www-data:www-data /var/{lib,log}/nginx -Rh" &&     bash -c "chmod 0755 -R /var/{lib,log}/nginx" &&     mkdir /tmp/.nginx &&     /bin/bash -e /scripts/set_permissions.sh
 ---> Running in 0f3a6c701f3a
Removing intermediate container 0f3a6c701f3a
 ---> 4180a8af907d
Step 9/9 : RUN goss -g /tests/alpine/nginx.goss.yaml validate &&     /aufs_hack.sh
 ---> Running in 3c749e8dad00
...............

Total Duration: 0.019s
Count: 15, Failed: 0, Skipped: 0
[hack] removing test nginx files and folders
removed directory: '/tmp/.nginx/client_body'
removed directory: '/tmp/.nginx/fastcgi_temp'
removed directory: '/tmp/.nginx/scgi_temp'
removed directory: '/tmp/.nginx/uwsgi_temp'
removed directory: '/tmp/.nginx/proxy_temp'
removed '/tmp/.nginx/nginx.pid'
Removing intermediate container 3c749e8dad00
 ---> b312598f29a7
Successfully built b312598f29a7
Successfully tagged docker-nginx:test-alpine

CentOS

$ docker build -t docker-nginx:test-centos -f Dockerfile-centos .
Sending build context to Docker daemon  64.51kB
Step 1/8 : FROM behance/docker-base:2.7-centos
2.7-centos: Pulling from behance/docker-base
39b19cc4ffbb: Pull complete 
Digest: sha256:cebb46d6b9249ac1dc7436d9be3ae8ed195ef6acf9e53cdc25aaba3251a12768
Status: Downloaded newer image for behance/docker-base:2.7-centos
 ---> 0c3f979ebf2e
Step 2/8 : MAINTAINER Bryan Latten <latten@adobe.com>
 ---> Running in 767ee8cfa9c8
Removing intermediate container 767ee8cfa9c8
 ---> 82f1c530ba75
Step 3/8 : ENV CONTAINER_ROLE=web     CONTAINER_PORT=8080     CONF_NGINX_SITE="/etc/nginx/sites-available/default"     CONF_NGINX_SERVER="/etc/nginx/nginx.conf"     NOT_ROOT_USER=nginx     S6_KILL_FINISH_MAXTIME=55000
 ---> Running in e42a82a2ae5c
Removing intermediate container e42a82a2ae5c
 ---> 412b8068cd3b
Step 4/8 : EXPOSE ${CONTAINER_PORT}
 ---> Running in 6d1e7054eddf
Removing intermediate container 6d1e7054eddf
 ---> 52635d02b460
Step 5/8 : RUN /bin/bash -e /security_updates.sh &&     yum -y -q install epel-release &&     yum -y -q install nginx ca-certificates &&     yum -y -q remove epel-release &&     /bin/bash -e /clean.sh
 ---> Running in 912eeb3a20e4
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: centos-distro.1gservers.com
 * extras: repos.lax.layerhost.com
 * updates: ftpmirror.your.org
No packages needed for security; 0 packages available
No packages marked for update
warning: /var/cache/yum/x86_64/7/extras/packages/epel-release-7-11.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for epel-release-7-11.noarch.rpm is not installed
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-8.2003.0.el7.centos.x86_64 (@CentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Warning: RPMDB altered outside of yum.
** Found 8 pre-existing rpmdb problem(s), 'yum check' output follows:
1:dbus-1.10.24-14.el7_8.x86_64 has missing requires of systemd
1:dbus-1.10.24-14.el7_8.x86_64 has missing requires of systemd
7:device-mapper-1.02.164-7.el7_8.2.x86_64 has missing requires of systemd >= ('0', '189', '3')
dracut-033-568.el7.x86_64 has missing requires of systemd >= ('0', '219', None)
elfutils-default-yama-scope-0.176-4.el7.noarch has missing requires of systemd
elfutils-default-yama-scope-0.176-4.el7.noarch has missing requires of systemd
iputils-20160308-10.el7.x86_64 has missing requires of systemd
iputils-20160308-10.el7.x86_64 has missing requires of systemd
Package ca-certificates-2020.2.41-70.0.el7_8.noarch already installed and latest version
warning: /var/cache/yum/x86_64/7/epel/packages/nginx-all-modules-1.16.1-1.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for nginx-all-modules-1.16.1-1.el7.noarch.rpm is not installed
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-11.noarch (@extras)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Failed to get D-Bus connection: Operation not permitted
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up list of fastest mirrors
Other repos take up 37 M of disk space (use --verbose for details)
Removing intermediate container 912eeb3a20e4
 ---> 3a99e1847197
Step 6/8 : COPY --chown=nginx ./container/root /
 ---> 74f1168a1512
Step 7/8 : RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE &&     mkdir /tmp/.nginx &&     sed -i "s/^user .*$/user ${NOT_ROOT_USER};/" ${CONF_NGINX_SERVER} &&     /bin/bash -e /scripts/set_permissions.sh
 ---> Running in 3f681372c51d
Removing intermediate container 3f681372c51d
 ---> c8c150eced18
Step 8/8 : RUN goss -g /tests/centos/nginx.goss.yaml validate &&     /aufs_hack.sh
 ---> Running in 189024f349de
...............

Total Duration: 0.017s
Count: 15, Failed: 0, Skipped: 0
[hack] removing test nginx files and folders
removed directory: '/tmp/.nginx/client_body'
removed directory: '/tmp/.nginx/fastcgi_temp'
removed directory: '/tmp/.nginx/scgi_temp'
removed directory: '/tmp/.nginx/uwsgi_temp'
removed directory: '/tmp/.nginx/proxy_temp'
removed '/tmp/.nginx/nginx.pid'
Removing intermediate container 189024f349de
 ---> ab387a31389a
Successfully built ab387a31389a
Successfully tagged docker-nginx:test-centos

Ubuntu

$ docker build -t docker-nginx:test -f Dockerfile .
Sending build context to Docker daemon  64.51kB
Step 1/8 : FROM behance/docker-base:2.7-ubuntu-20.04
2.7-ubuntu-20.04: Pulling from behance/docker-base
39f9abcc07fd: Pull complete 
Digest: sha256:0ee5580675d0017d5e7862d55ace506cf137f5489fea84ec16d917d3eac3e6c6
Status: Downloaded newer image for behance/docker-base:2.7-ubuntu-20.04
 ---> f5d981659f1d
Step 2/8 : MAINTAINER Bryan Latten <latten@adobe.com>
 ---> Running in 997ae080c519
Removing intermediate container 997ae080c519
 ---> 1483d98f5b79
Step 3/8 : ENV CONTAINER_ROLE=web     CONTAINER_PORT=8080     CONF_NGINX_SITE="/etc/nginx/sites-available/default"     CONF_NGINX_SERVER="/etc/nginx/nginx.conf"     NOT_ROOT_USER=www-data     S6_KILL_FINISH_MAXTIME=55000
 ---> Running in 82ee0d23aeeb
Removing intermediate container 82ee0d23aeeb
 ---> ca5dcc887ae4
Step 4/8 : EXPOSE ${CONTAINER_PORT}
 ---> Running in 29b1172e5bea
Removing intermediate container 29b1172e5bea
 ---> 52a6b4857db1
Step 5/8 : RUN /bin/bash -e /security_updates.sh &&     apt-get install --no-install-recommends -yqq         software-properties-common     &&     add-apt-repository ppa:ondrej/nginx -y &&     apt-get update -yqq &&     apt-get install -yqq --no-install-recommends         nginx-light         ca-certificates     &&     apt-get remove --purge -yq         manpages         manpages-dev         man-db         patch         make         unattended-upgrades         python*     &&     /bin/bash -e /clean.sh
 ---> Running in d6cdb3cb9dba
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [39.1 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [207 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [66.4 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [1078 B]
Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
Get:11 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [205 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [442 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [17.3 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [42.5 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [3216 B]
Fetched 14.2 MB in 6s (2356 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython3.8-minimal:amd64.
(Reading database ... 4452 files and directories currently installed.)
Preparing to unpack .../libpython3.8-minimal_3.8.2-1ubuntu1.2_amd64.deb ...
Unpacking libpython3.8-minimal:amd64 (3.8.2-1ubuntu1.2) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.2.9-1build1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.9-1build1) ...
Selecting previously unselected package python3.8-minimal.
Preparing to unpack .../python3.8-minimal_3.8.2-1ubuntu1.2_amd64.deb ...
Unpacking python3.8-minimal (3.8.2-1ubuntu1.2) ...
Setting up libpython3.8-minimal:amd64 (3.8.2-1ubuntu1.2) ...
Setting up libexpat1:amd64 (2.2.9-1build1) ...
Setting up python3.8-minimal (3.8.2-1ubuntu1.2) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 4743 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.8.2-0ubuntu2_amd64.deb ...
Unpacking python3-minimal (3.8.2-0ubuntu2) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../1-mime-support_3.64ubuntu1_all.deb ...
Unpacking mime-support (3.64ubuntu1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../2-libmpdec2_2.4.2-3_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-3) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../3-readline-common_8.0-4_all.deb ...
Unpacking readline-common (8.0-4) ...
Selecting previously unselected package libreadline8:amd64.
Preparing to unpack .../4-libreadline8_8.0-4_amd64.deb ...
Unpacking libreadline8:amd64 (8.0-4) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../5-libsqlite3-0_3.31.1-4ubuntu0.2_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.31.1-4ubuntu0.2) ...
Selecting previously unselected package libpython3.8-stdlib:amd64.
Preparing to unpack .../6-libpython3.8-stdlib_3.8.2-1ubuntu1.2_amd64.deb ...
Unpacking libpython3.8-stdlib:amd64 (3.8.2-1ubuntu1.2) ...
Selecting previously unselected package python3.8.
Preparing to unpack .../7-python3.8_3.8.2-1ubuntu1.2_amd64.deb ...
Unpacking python3.8 (3.8.2-1ubuntu1.2) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../8-libpython3-stdlib_3.8.2-0ubuntu2_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.8.2-0ubuntu2) ...
Setting up python3-minimal (3.8.2-0ubuntu2) ...
Selecting previously unselected package python3.
(Reading database ... 5173 files and directories currently installed.)
Preparing to unpack .../00-python3_3.8.2-0ubuntu2_amd64.deb ...
Unpacking python3 (3.8.2-0ubuntu2) ...
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack .../01-libapparmor1_2.13.3-7ubuntu5.1_amd64.deb ...
Unpacking libapparmor1:amd64 (2.13.3-7ubuntu5.1) ...
Selecting previously unselected package libcap2:amd64.
Preparing to unpack .../02-libcap2_1%3a2.32-1_amd64.deb ...
Unpacking libcap2:amd64 (1:2.32-1) ...
Selecting previously unselected package libargon2-1:amd64.
Preparing to unpack .../03-libargon2-1_0~20171227-0.2_amd64.deb ...
Unpacking libargon2-1:amd64 (0~20171227-0.2) ...
Selecting previously unselected package libdevmapper1.02.1:amd64.
Preparing to unpack .../04-libdevmapper1.02.1_2%3a1.02.167-1ubuntu1_amd64.deb ...
Unpacking libdevmapper1.02.1:amd64 (2:1.02.167-1ubuntu1) ...
Selecting previously unselected package libjson-c4:amd64.
Preparing to unpack .../05-libjson-c4_0.13.1+dfsg-7ubuntu0.3_amd64.deb ...
Unpacking libjson-c4:amd64 (0.13.1+dfsg-7ubuntu0.3) ...
Selecting previously unselected package libcryptsetup12:amd64.
Preparing to unpack .../06-libcryptsetup12_2%3a2.2.2-3ubuntu2_amd64.deb ...
Unpacking libcryptsetup12:amd64 (2:2.2.2-3ubuntu2) ...
Selecting previously unselected package libip4tc2:amd64.
Preparing to unpack .../07-libip4tc2_1.8.4-3ubuntu2_amd64.deb ...
Unpacking libip4tc2:amd64 (1.8.4-3ubuntu2) ...
Selecting previously unselected package libkmod2:amd64.
Preparing to unpack .../08-libkmod2_27-1ubuntu2_amd64.deb ...
Unpacking libkmod2:amd64 (27-1ubuntu2) ...
Selecting previously unselected package systemd-timesyncd.
Preparing to unpack .../09-systemd-timesyncd_245.4-4ubuntu3.2_amd64.deb ...
Unpacking systemd-timesyncd (245.4-4ubuntu3.2) ...
Selecting previously unselected package systemd.
Preparing to unpack .../10-systemd_245.4-4ubuntu3.2_amd64.deb ...
Unpacking systemd (245.4-4ubuntu3.2) ...
Setting up libapparmor1:amd64 (2.13.3-7ubuntu5.1) ...
Setting up libcap2:amd64 (1:2.32-1) ...
Setting up libargon2-1:amd64 (0~20171227-0.2) ...
Setting up libdevmapper1.02.1:amd64 (2:1.02.167-1ubuntu1) ...
Setting up libjson-c4:amd64 (0.13.1+dfsg-7ubuntu0.3) ...
Setting up libcryptsetup12:amd64 (2:2.2.2-3ubuntu2) ...
Setting up libip4tc2:amd64 (1.8.4-3ubuntu2) ...
Setting up libkmod2:amd64 (27-1ubuntu2) ...
Setting up systemd-timesyncd (245.4-4ubuntu3.2) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service → /lib/systemd/system/systemd-timesyncd.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.
Setting up systemd (245.4-4ubuntu3.2) ...
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /lib/systemd/system/remote-fs.target.
Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service.
ln: failed to create symbolic link '/etc/resolv.conf': Device or resource busy
Created symlink /etc/systemd/system/multi-user.target.wants/ondemand.service → /lib/systemd/system/ondemand.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-pstore.service → /lib/systemd/system/systemd-pstore.service.
Initializing machine ID from random generator.
Selecting previously unselected package systemd-sysv.
(Reading database ... 6007 files and directories currently installed.)
Preparing to unpack .../00-systemd-sysv_245.4-4ubuntu3.2_amd64.deb ...
Unpacking systemd-sysv (245.4-4ubuntu3.2) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../01-libdbus-1-3_1.12.16-2ubuntu2.1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.12.16-2ubuntu2.1) ...
Selecting previously unselected package dbus.
Preparing to unpack .../02-dbus_1.12.16-2ubuntu2.1_amd64.deb ...
Unpacking dbus (1.12.16-2ubuntu2.1) ...
Selecting previously unselected package distro-info-data.
Preparing to unpack .../03-distro-info-data_0.43ubuntu1.1_all.deb ...
Unpacking distro-info-data (0.43ubuntu1.1) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../04-libglib2.0-0_2.64.3-1~ubuntu20.04.1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.64.3-1~ubuntu20.04.1) ...
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack .../05-libgirepository-1.0-1_1.64.1-1~ubuntu20.04.1_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.64.1-1~ubuntu20.04.1) ...
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack .../06-gir1.2-glib-2.0_1.64.1-1~ubuntu20.04.1_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.64.1-1~ubuntu20.04.1) ...
Selecting previously unselected package libcap2-bin.
Preparing to unpack .../07-libcap2-bin_1%3a2.32-1_amd64.deb ...
Unpacking libcap2-bin (1:2.32-1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../08-libelf1_0.176-1.1build1_amd64.deb ...
Unpacking libelf1:amd64 (0.176-1.1build1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../09-libglib2.0-data_2.64.3-1~ubuntu20.04.1_all.deb ...
Unpacking libglib2.0-data (2.64.3-1~ubuntu20.04.1) ...
Selecting previously unselected package tzdata.
Preparing to unpack .../10-tzdata_2020a-0ubuntu0.20.04_all.deb ...
Unpacking tzdata (2020a-0ubuntu0.20.04) ...
Selecting previously unselected package libicu66:amd64.
Preparing to unpack .../11-libicu66_66.1-2ubuntu2_amd64.deb ...
Unpacking libicu66:amd64 (66.1-2ubuntu2) ...
Selecting previously unselected package libpam-systemd:amd64.
Preparing to unpack .../12-libpam-systemd_245.4-4ubuntu3.2_amd64.deb ...
Unpacking libpam-systemd:amd64 (245.4-4ubuntu3.2) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../13-libxml2_2.9.10+dfsg-5_amd64.deb ...
Unpacking libxml2:amd64 (2.9.10+dfsg-5) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../14-libyaml-0-2_0.2.2-1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.2.2-1) ...
Selecting previously unselected package lsb-release.
Preparing to unpack .../15-lsb-release_11.1.0ubuntu2_all.deb ...
Unpacking lsb-release (11.1.0ubuntu2) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../16-python3-dbus_1.2.16-1build1_amd64.deb ...
Unpacking python3-dbus (1.2.16-1build1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../17-python3-gi_3.36.0-1_amd64.deb ...
Unpacking python3-gi (3.36.0-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../18-python3-pkg-resources_45.2.0-1_all.deb ...
Unpacking python3-pkg-resources (45.2.0-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../19-python3-six_1.14.0-2_all.deb ...
Unpacking python3-six (1.14.0-2) ...
Selecting previously unselected package iso-codes.
Preparing to unpack .../20-iso-codes_4.4-1_all.deb ...
Unpacking iso-codes (4.4-1) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../21-libkrb5support0_1.17-6ubuntu4_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.17-6ubuntu4) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../22-libk5crypto3_1.17-6ubuntu4_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.17-6ubuntu4) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../23-libkeyutils1_1.6-6ubuntu1_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.6-6ubuntu1) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../24-libkrb5-3_1.17-6ubuntu4_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.17-6ubuntu4) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../25-libgssapi-krb5-2_1.17-6ubuntu4_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.17-6ubuntu4) ...
Selecting previously unselected package liblmdb0:amd64.
Preparing to unpack .../26-liblmdb0_0.9.24-1_amd64.deb ...
Unpacking liblmdb0:amd64 (0.9.24-1) ...
Selecting previously unselected package libpolkit-gobject-1-0:amd64.
Preparing to unpack .../27-libpolkit-gobject-1-0_0.105-26ubuntu1_amd64.deb ...
Unpacking libpolkit-gobject-1-0:amd64 (0.105-26ubuntu1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../28-libpsl5_0.21.0-1ubuntu1_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.0-1ubuntu1) ...
Selecting previously unselected package python-apt-common.
Preparing to unpack .../29-python-apt-common_2.0.0ubuntu0.20.04.1_all.deb ...
Unpacking python-apt-common (2.0.0ubuntu0.20.04.1) ...
Selecting previously unselected package python3-apt.
Preparing to unpack .../30-python3-apt_2.0.0ubuntu0.20.04.1_amd64.deb ...
Unpacking python3-apt (2.0.0ubuntu0.20.04.1) ...
Selecting previously unselected package dbus-user-session.
Preparing to unpack .../31-dbus-user-session_1.12.16-2ubuntu2.1_amd64.deb ...
Unpacking dbus-user-session (1.12.16-2ubuntu2.1) ...
Selecting previously unselected package libdconf1:amd64.
Preparing to unpack .../32-libdconf1_0.36.0-1_amd64.deb ...
Unpacking libdconf1:amd64 (0.36.0-1) ...
Selecting previously unselected package dconf-service.
Preparing to unpack .../33-dconf-service_0.36.0-1_amd64.deb ...
Unpacking dconf-service (0.36.0-1) ...
Selecting previously unselected package dconf-gsettings-backend:amd64.
Preparing to unpack .../34-dconf-gsettings-backend_0.36.0-1_amd64.deb ...
Unpacking dconf-gsettings-backend:amd64 (0.36.0-1) ...
Selecting previously unselected package libpackagekit-glib2-18:amd64.
Preparing to unpack .../35-libpackagekit-glib2-18_1.1.13-2ubuntu1_amd64.deb ...
Unpacking libpackagekit-glib2-18:amd64 (1.1.13-2ubuntu1) ...
Selecting previously unselected package gir1.2-packagekitglib-1.0.
Preparing to unpack .../36-gir1.2-packagekitglib-1.0_1.1.13-2ubuntu1_amd64.deb ...
Unpacking gir1.2-packagekitglib-1.0 (1.1.13-2ubuntu1) ...
Selecting previously unselected package libproxy1v5:amd64.
Preparing to unpack .../37-libproxy1v5_0.4.15-10ubuntu1_amd64.deb ...
Unpacking libproxy1v5:amd64 (0.4.15-10ubuntu1) ...
Selecting previously unselected package glib-networking-common.
Preparing to unpack .../38-glib-networking-common_2.64.2-1ubuntu0.1_all.deb ...
Unpacking glib-networking-common (2.64.2-1ubuntu0.1) ...
Selecting previously unselected package glib-networking-services.
Preparing to unpack .../39-glib-networking-services_2.64.2-1ubuntu0.1_amd64.deb ...
Unpacking glib-networking-services (2.64.2-1ubuntu0.1) ...
Selecting previously unselected package gsettings-desktop-schemas.
Preparing to unpack .../40-gsettings-desktop-schemas_3.36.0-1ubuntu1_all.deb ...
Unpacking gsettings-desktop-schemas (3.36.0-1ubuntu1) ...
Selecting previously unselected package glib-networking:amd64.
Preparing to unpack .../41-glib-networking_2.64.2-1ubuntu0.1_amd64.deb ...
Unpacking glib-networking:amd64 (2.64.2-1ubuntu0.1) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../42-libassuan0_2.5.3-7ubuntu2_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.3-7ubuntu2) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../43-gpgconf_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpgconf (2.2.19-3ubuntu2) ...
Selecting previously unselected package gpg.
Preparing to unpack .../44-gpg_2.2.19-3ubuntu2_amd64.deb ...
Unpacking gpg (2.2.19-3ubuntu2) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../45-libbrotli1_1.0.7-6build1_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.7-6build1) ...
Selecting previously unselected package libsoup2.4-1:amd64.
Preparing to unpack .../46-libsoup2.4-1_2.70.0-1_amd64.deb ...
Unpacking libsoup2.4-1:amd64 (2.70.0-1) ...
Selecting previously unselected package libstemmer0d:amd64.
Preparing to unpack .../47-libstemmer0d_0+svn585-2_amd64.deb ...
Unpacking libstemmer0d:amd64 (0+svn585-2) ...
Selecting previously unselected package libappstream4:amd64.
Preparing to unpack .../48-libappstream4_0.12.10-2_amd64.deb ...
Unpacking libappstream4:amd64 (0.12.10-2) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../49-libglib2.0-bin_2.64.3-1~ubuntu20.04.1_amd64.deb ...
Unpacking libglib2.0-bin (2.64.3-1~ubuntu20.04.1) ...
Selecting previously unselected package libgstreamer1.0-0:amd64.
Preparing to unpack .../50-libgstreamer1.0-0_1.16.2-2_amd64.deb ...
Unpacking libgstreamer1.0-0:amd64 (1.16.2-2) ...
Selecting previously unselected package libpolkit-agent-1-0:amd64.
Preparing to unpack .../51-libpolkit-agent-1-0_0.105-26ubuntu1_amd64.deb ...
Unpacking libpolkit-agent-1-0:amd64 (0.105-26ubuntu1) ...
Selecting previously unselected package policykit-1.
Preparing to unpack .../52-policykit-1_0.105-26ubuntu1_amd64.deb ...
Unpacking policykit-1 (0.105-26ubuntu1) ...
Selecting previously unselected package python3-certifi.
Preparing to unpack .../53-python3-certifi_2019.11.28-1_all.deb ...
Unpacking python3-certifi (2019.11.28-1) ...
Selecting previously unselected package python3-chardet.
Preparing to unpack .../54-python3-chardet_3.0.4-4build1_all.deb ...
Unpacking python3-chardet (3.0.4-4build1) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../55-python3-idna_2.8-1_all.deb ...
Unpacking python3-idna (2.8-1) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../56-python3-urllib3_1.25.8-2_all.deb ...
Unpacking python3-urllib3 (1.25.8-2) ...
Selecting previously unselected package python3-requests.
Preparing to unpack .../57-python3-requests_2.22.0-2ubuntu1_all.deb ...
Unpacking python3-requests (2.22.0-2ubuntu1) ...
Selecting previously unselected package python3-requests-unixsocket.
Preparing to unpack .../58-python3-requests-unixsocket_0.2.0-2_all.deb ...
Unpacking python3-requests-unixsocket (0.2.0-2) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../59-python3-software-properties_0.98.9.2_all.deb ...
Unpacking python3-software-properties (0.98.9.2) ...
Selecting previously unselected package packagekit.
Preparing to unpack .../60-packagekit_1.1.13-2ubuntu1_amd64.deb ...
Unpacking packagekit (1.1.13-2ubuntu1) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../61-software-properties-common_0.98.9.2_all.deb ...
Unpacking software-properties-common (0.98.9.2) ...
Setting up liblmdb0:amd64 (0.9.24-1) ...
Setting up systemd-sysv (245.4-4ubuntu3.2) ...
Setting up libkeyutils1:amd64 (1.6-6ubuntu1) ...
Setting up libproxy1v5:amd64 (0.4.15-10ubuntu1) ...
Setting up libpsl5:amd64 (0.21.0-1ubuntu1) ...
Setting up mime-support (3.64ubuntu1) ...
Setting up libyaml-0-2:amd64 (0.2.2-1) ...
Setting up libglib2.0-0:amd64 (2.64.3-1~ubuntu20.04.1) ...
Setting up distro-info-data (0.43ubuntu1.1) ...
Setting up libbrotli1:amd64 (1.0.7-6build1) ...
Setting up libsqlite3-0:amd64 (3.31.1-4ubuntu0.2) ...
Setting up libpackagekit-glib2-18:amd64 (1.1.13-2ubuntu1) ...
Setting up libassuan0:amd64 (2.5.3-7ubuntu2) ...
Setting up libkrb5support0:amd64 (1.17-6ubuntu4) ...
Setting up tzdata (2020a-0ubuntu0.20.04) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Mon Aug 31 18:36:05 UTC 2020.
Universal Time is now:  Mon Aug 31 18:36:05 UTC 2020.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libcap2-bin (1:2.32-1) ...
Setting up libdconf1:amd64 (0.36.0-1) ...
Setting up libglib2.0-data (2.64.3-1~ubuntu20.04.1) ...
Setting up libdbus-1-3:amd64 (1.12.16-2ubuntu2.1) ...
Setting up dbus (1.12.16-2ubuntu2.1) ...
Setting up libk5crypto3:amd64 (1.17-6ubuntu4) ...
Setting up python-apt-common (2.0.0ubuntu0.20.04.1) ...
Setting up libpam-systemd:amd64 (245.4-4ubuntu3.2) ...
Setting up libgirepository-1.0-1:amd64 (1.64.1-1~ubuntu20.04.1) ...
Setting up libkrb5-3:amd64 (1.17-6ubuntu4) ...
Setting up libstemmer0d:amd64 (0+svn585-2) ...
Setting up libmpdec2:amd64 (2.4.2-3) ...
Setting up glib-networking-common (2.64.2-1ubuntu0.1) ...
Setting up libelf1:amd64 (0.176-1.1build1) ...
Setting up readline-common (8.0-4) ...
Setting up iso-codes (4.4-1) ...
Setting up libpolkit-gobject-1-0:amd64 (0.105-26ubuntu1) ...
Setting up libgstreamer1.0-0:amd64 (1.16.2-2) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up glib-networking-services (2.64.2-1ubuntu0.1) ...
Setting up libicu66:amd64 (66.1-2ubuntu2) ...
Setting up libreadline8:amd64 (8.0-4) ...
Setting up libglib2.0-bin (2.64.3-1~ubuntu20.04.1) ...
Setting up dbus-user-session (1.12.16-2ubuntu2.1) ...
Setting up libgssapi-krb5-2:amd64 (1.17-6ubuntu4) ...
Setting up gir1.2-glib-2.0:amd64 (1.64.1-1~ubuntu20.04.1) ...
Setting up gpgconf (2.2.19-3ubuntu2) ...
Setting up libpolkit-agent-1-0:amd64 (0.105-26ubuntu1) ...
Setting up libpython3.8-stdlib:amd64 (3.8.2-1ubuntu1.2) ...
Setting up python3.8 (3.8.2-1ubuntu1.2) ...
Setting up libxml2:amd64 (2.9.10+dfsg-5) ...
Setting up policykit-1 (0.105-26ubuntu1) ...
Setting up gpg (2.2.19-3ubuntu2) ...
Setting up libpython3-stdlib:amd64 (3.8.2-0ubuntu2) ...
Setting up dconf-service (0.36.0-1) ...
Setting up python3 (3.8.2-0ubuntu2) ...
running python rtupdate hooks for python3.8...
running python post-rtupdate hooks for python3.8...
Setting up python3-six (1.14.0-2) ...
Setting up gir1.2-packagekitglib-1.0 (1.1.13-2ubuntu1) ...
Setting up python3-certifi (2019.11.28-1) ...
Setting up python3-gi (3.36.0-1) ...
Setting up python3-idna (2.8-1) ...
Setting up python3-urllib3 (1.25.8-2) ...
Setting up lsb-release (11.1.0ubuntu2) ...
Setting up python3-pkg-resources (45.2.0-1) ...
Setting up python3-dbus (1.2.16-1build1) ...
Setting up dconf-gsettings-backend:amd64 (0.36.0-1) ...
Setting up python3-apt (2.0.0ubuntu0.20.04.1) ...
Setting up python3-chardet (3.0.4-4build1) ...
Setting up python3-software-properties (0.98.9.2) ...
Setting up python3-requests (2.22.0-2ubuntu1) ...
Setting up gsettings-desktop-schemas (3.36.0-1ubuntu1) ...
Setting up python3-requests-unixsocket (0.2.0-2) ...
Setting up glib-networking:amd64 (2.64.2-1ubuntu0.1) ...
Setting up libsoup2.4-1:amd64 (2.70.0-1) ...
Setting up libappstream4:amd64 (0.12.10-2) ...
Setting up packagekit (1.1.13-2ubuntu1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of force-reload.
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Created symlink /etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket → /usr/lib/systemd/user/pk-debconf-helper.socket.
Setting up software-properties-common (0.98.9.2) ...
Processing triggers for systemd (245.4-4ubuntu3.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://ppa.launchpad.net/ondrej/nginx/ubuntu focal InRelease [23.8 kB]
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Get:6 http://ppa.launchpad.net/ondrej/nginx/ubuntu focal/main amd64 Packages [6319 B]
Fetched 30.1 kB in 1s (23.4 kB/s)
Reading package lists...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libbsd0:amd64.
(Reading database ... 10096 files and directories currently installed.)
Preparing to unpack .../0-libbsd0_0.10.0-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.10.0-1) ...
Selecting previously unselected package libmnl0:amd64.
Preparing to unpack .../1-libmnl0_1.0.4-2_amd64.deb ...
Unpacking libmnl0:amd64 (1.0.4-2) ...
Selecting previously unselected package libxtables12:amd64.
Preparing to unpack .../2-libxtables12_1.8.4-3ubuntu2_amd64.deb ...
Unpacking libxtables12:amd64 (1.8.4-3ubuntu2) ...
Selecting previously unselected package iproute2.
Preparing to unpack .../3-iproute2_5.5.0-1ubuntu1_amd64.deb ...
Unpacking iproute2 (5.5.0-1ubuntu1) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../4-nginx-common_1.18.0-4+ubuntu20.04.1+deb.sury.org+1_all.deb ...
Unpacking nginx-common (1.18.0-4+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package libnginx-mod-http-echo.
Preparing to unpack .../5-libnginx-mod-http-echo_1.18.0-4+ubuntu20.04.1+deb.sury.org+1_amd64.deb ...
Unpacking libnginx-mod-http-echo (1.18.0-4+ubuntu20.04.1+deb.sury.org+1) ...
Selecting previously unselected package nginx-light.
Preparing to unpack .../6-nginx-light_1.18.0-4+ubuntu20.04.1+deb.sury.org+1_amd64.deb ...
Unpacking nginx-light (1.18.0-4+ubuntu20.04.1+deb.sury.org+1) ...
Setting up nginx-common (1.18.0-4+ubuntu20.04.1+deb.sury.org+1) ...
Setting up libmnl0:amd64 (1.0.4-2) ...
Setting up libxtables12:amd64 (1.8.4-3ubuntu2) ...
Setting up libnginx-mod-http-echo (1.18.0-4+ubuntu20.04.1+deb.sury.org+1) ...
Setting up libbsd0:amd64 (0.10.0-1) ...
Setting up iproute2 (5.5.0-1ubuntu1) ...
Setting up nginx-light (1.18.0-4+ubuntu20.04.1+deb.sury.org+1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Processing triggers for systemd (245.4-4ubuntu3.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python-alembic' is not installed, so not removed
Package 'python-apport' is not installed, so not removed
[...snip...]
Removing libkmod2:amd64 (27-1ubuntu2) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Removing intermediate container d6cdb3cb9dba
 ---> e338057962a1
Step 6/8 : COPY --chown=www-data ./container/root /
 ---> 6245184ed7b6
Step 7/8 : RUN sed -i "s/listen [0-9]*;/listen ${CONTAINER_PORT};/" $CONF_NGINX_SITE &&     mkdir /tmp/.nginx &&     sed -i "/application\/font-woff/d" /etc/nginx/mime.types &&     sed -i "s/}/\n    font\/woff                             woff;&/" /etc/nginx/mime.types &&     sed -i "s/}/\n    font\/woff2                            woff2;\n&/g" /etc/nginx/mime.types &&     /bin/bash -e /scripts/set_permissions.sh
 ---> Running in 41a8d9226737
Removing intermediate container 41a8d9226737
 ---> 405a980888d0
Step 8/8 : RUN goss -g /tests/ubuntu/nginx.goss.yaml validate &&     /aufs_hack.sh
 ---> Running in 0fcbe4318be0
...............

Total Duration: 0.014s
Count: 15, Failed: 0, Skipped: 0
[hack] removing test nginx files and folders
removed directory '/tmp/.nginx/client_body'
removed directory '/tmp/.nginx/fastcgi_temp'
removed directory '/tmp/.nginx/scgi_temp'
removed directory '/tmp/.nginx/uwsgi_temp'
removed directory '/tmp/.nginx/proxy_temp'
removed '/tmp/.nginx/nginx.pid'
Removing intermediate container 0fcbe4318be0
 ---> b3d1fd88ee61
Successfully built b3d1fd88ee61
Successfully tagged docker-nginx:test

@adobejmong adobejmong changed the title bump from 2.6 to 2.7 bump docker-base from 2.6 to 2.7 Aug 31, 2020
@bryanlatten bryanlatten merged commit d165775 into behance:master Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants