Skip to content

Instantly share code, notes, and snippets.

@ferbncode
Created December 11, 2017 05:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ferbncode/69e9013e5d1568301e6a3486df0fa32f to your computer and use it in GitHub Desktop.
Save ferbncode/69e9013e5d1568301e6a3486df0fa32f to your computer and use it in GitHub Desktop.
build
Building db
Step 1/2 : FROM postgres:9.5.4
---> 2417ea518abc
Step 2/2 : ADD create_extensions.sql /docker-entrypoint-initdb.d/
---> Using cache
---> 8d41a43b5b71
Successfully built 8d41a43b5b71
Successfully tagged docker_db:latest
Building db_test
Step 1/2 : FROM postgres:9.5.4
---> 2417ea518abc
Step 2/2 : ADD create_extensions.sql /docker-entrypoint-initdb.d/
---> Using cache
---> 8d41a43b5b71
Successfully built 8d41a43b5b71
Successfully tagged docker_db_test:latest
critiquebrainz_redis uses an image, skipping
musicbrainz_db uses an image, skipping
Building critiquebrainz
Step 1/16 : FROM metabrainz/python:3.6
---> 8807c4061568
Step 2/16 : RUN apt-get update && apt-get install -y --no-install-recommends build-essential ca-certificates cron htop git libpq-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev && rm -rf /var/lib/apt/lists/*
---> Running in 4efaf5d64c87
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main Sources [1103 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [5179 B]
Get:6 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [360 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3620 B]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [231 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [876 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.7 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [724 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [126 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [2770 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [55.6 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Sources [1489 B]
Get:20 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [515 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.9 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [237 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3479 B]
Fetched 25.9 MB in 2min 12s (195 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.1ubuntu2).
cron is already the newest version (3.0pl1-128ubuntu2).
The following additional packages will be installed:
comerr-dev git-man icu-devtools krb5-multidev liberror-perl libgssrpc4
libicu-dev libicu55 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-8 libpq5
libssl1.0.0 libxml2 libxslt1.1
Suggested packages:
doc-base gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el
git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn lsof
strace krb5-doc krb5-user icu-doc postgresql-doc-9.5
Recommended packages:
rsync libssl-doc xml-core
The following NEW packages will be installed:
comerr-dev git git-man htop icu-devtools krb5-multidev liberror-perl
libffi-dev libgssrpc4 libicu-dev libicu55 libkadm5clnt-mit9 libkadm5srv-mit9
libkdb5-8 libpq-dev libpq5 libxml2 libxml2-dev libxslt1-dev libxslt1.1
The following packages will be upgraded:
ca-certificates libssl-dev libssl1.0.0
3 upgraded, 20 newly installed, 0 to remove and 95 not upgraded.
Need to get 25.6 MB of archives.
After this operation, 110 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl-dev amd64 1.0.2g-1ubuntu4.9 [1345 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl1.0.0 amd64 1.0.2g-1ubuntu4.9 [1085 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates all 20170717~16.04.1 [168 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libicu55 amd64 55.1-7ubuntu0.3 [7658 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxml2 amd64 2.9.3+dfsg1-1ubuntu0.4 [698 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 liberror-perl all 0.17-1.2 [19.6 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 git-man all 1:2.7.4-0ubuntu1.3 [736 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 git amd64 1:2.7.4-0ubuntu1.3 [3102 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 htop amd64 2.0.1-1ubuntu1 [76.4 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 icu-devtools amd64 55.1-7ubuntu0.3 [166 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgssrpc4 amd64 1.13.2+dfsg-5ubuntu2 [54.5 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkdb5-8 amd64 1.13.2+dfsg-5ubuntu2 [37.1 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkadm5srv-mit9 amd64 1.13.2+dfsg-5ubuntu2 [51.3 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkadm5clnt-mit9 amd64 1.13.2+dfsg-5ubuntu2 [36.7 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 comerr-dev amd64 2.1-1.42.13-1ubuntu1 [38.2 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 krb5-multidev amd64 1.13.2+dfsg-5ubuntu2 [113 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libicu-dev amd64 55.1-7ubuntu0.3 [8532 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpq5 amd64 9.5.10-0ubuntu0.16.04 [78.9 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpq-dev amd64 9.5.10-0ubuntu0.16.04 [154 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxml2-dev amd64 2.9.3+dfsg1-1ubuntu0.4 [743 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxslt1.1 amd64 1.1.28-2.1ubuntu0.1 [145 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxslt1-dev amd64 1.1.28-2.1ubuntu0.1 [406 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 libffi-dev amd64 3.2.1-4 [161 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 25.6 MB in 2min 33s (167 kB/s)
(Reading database ... 18200 files and directories currently installed.)
Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.9_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.9) over (1.0.2g-1ubuntu4.6) ...
Preparing to unpack .../libssl1.0.0_1.0.2g-1ubuntu4.9_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2g-1ubuntu4.9) over (1.0.2g-1ubuntu4.6) ...
Preparing to unpack .../ca-certificates_20170717~16.04.1_all.deb ...
Unpacking ca-certificates (20170717~16.04.1) over (20160104ubuntu1) ...
Selecting previously unselected package libicu55:amd64.
Preparing to unpack .../libicu55_55.1-7ubuntu0.3_amd64.deb ...
Unpacking libicu55:amd64 (55.1-7ubuntu0.3) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../libxml2_2.9.3+dfsg1-1ubuntu0.4_amd64.deb ...
Unpacking libxml2:amd64 (2.9.3+dfsg1-1ubuntu0.4) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17-1.2_all.deb ...
Unpacking liberror-perl (0.17-1.2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.7.4-0ubuntu1.3_all.deb ...
Unpacking git-man (1:2.7.4-0ubuntu1.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.7.4-0ubuntu1.3_amd64.deb ...
Unpacking git (1:2.7.4-0ubuntu1.3) ...
Selecting previously unselected package htop.
Preparing to unpack .../htop_2.0.1-1ubuntu1_amd64.deb ...
Unpacking htop (2.0.1-1ubuntu1) ...
Selecting previously unselected package icu-devtools.
Preparing to unpack .../icu-devtools_55.1-7ubuntu0.3_amd64.deb ...
Unpacking icu-devtools (55.1-7ubuntu0.3) ...
Selecting previously unselected package libgssrpc4:amd64.
Preparing to unpack .../libgssrpc4_1.13.2+dfsg-5ubuntu2_amd64.deb ...
Unpacking libgssrpc4:amd64 (1.13.2+dfsg-5ubuntu2) ...
Selecting previously unselected package libkdb5-8:amd64.
Preparing to unpack .../libkdb5-8_1.13.2+dfsg-5ubuntu2_amd64.deb ...
Unpacking libkdb5-8:amd64 (1.13.2+dfsg-5ubuntu2) ...
Selecting previously unselected package libkadm5srv-mit9:amd64.
Preparing to unpack .../libkadm5srv-mit9_1.13.2+dfsg-5ubuntu2_amd64.deb ...
Unpacking libkadm5srv-mit9:amd64 (1.13.2+dfsg-5ubuntu2) ...
Selecting previously unselected package libkadm5clnt-mit9:amd64.
Preparing to unpack .../libkadm5clnt-mit9_1.13.2+dfsg-5ubuntu2_amd64.deb ...
Unpacking libkadm5clnt-mit9:amd64 (1.13.2+dfsg-5ubuntu2) ...
Selecting previously unselected package comerr-dev.
Preparing to unpack .../comerr-dev_2.1-1.42.13-1ubuntu1_amd64.deb ...
Unpacking comerr-dev (2.1-1.42.13-1ubuntu1) ...
Selecting previously unselected package krb5-multidev.
Preparing to unpack .../krb5-multidev_1.13.2+dfsg-5ubuntu2_amd64.deb ...
Unpacking krb5-multidev (1.13.2+dfsg-5ubuntu2) ...
Selecting previously unselected package libicu-dev:amd64.
Preparing to unpack .../libicu-dev_55.1-7ubuntu0.3_amd64.deb ...
Unpacking libicu-dev:amd64 (55.1-7ubuntu0.3) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../libpq5_9.5.10-0ubuntu0.16.04_amd64.deb ...
Unpacking libpq5:amd64 (9.5.10-0ubuntu0.16.04) ...
Selecting previously unselected package libpq-dev.
Preparing to unpack .../libpq-dev_9.5.10-0ubuntu0.16.04_amd64.deb ...
Unpacking libpq-dev (9.5.10-0ubuntu0.16.04) ...
Selecting previously unselected package libxml2-dev:amd64.
Preparing to unpack .../libxml2-dev_2.9.3+dfsg1-1ubuntu0.4_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.3+dfsg1-1ubuntu0.4) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2.1ubuntu0.1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
Selecting previously unselected package libxslt1-dev:amd64.
Preparing to unpack .../libxslt1-dev_1.1.28-2.1ubuntu0.1_amd64.deb ...
Unpacking libxslt1-dev:amd64 (1.1.28-2.1ubuntu0.1) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../libffi-dev_3.2.1-4_amd64.deb ...
Unpacking libffi-dev:amd64 (3.2.1-4) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up libssl1.0.0:amd64 (1.0.2g-1ubuntu4.9) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.9) ...
Setting up ca-certificates (20170717~16.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libicu55:amd64 (55.1-7ubuntu0.3) ...
Setting up libxml2:amd64 (2.9.3+dfsg1-1ubuntu0.4) ...
Setting up liberror-perl (0.17-1.2) ...
Setting up git-man (1:2.7.4-0ubuntu1.3) ...
Setting up git (1:2.7.4-0ubuntu1.3) ...
Setting up htop (2.0.1-1ubuntu1) ...
Setting up icu-devtools (55.1-7ubuntu0.3) ...
Setting up libgssrpc4:amd64 (1.13.2+dfsg-5ubuntu2) ...
Setting up libkdb5-8:amd64 (1.13.2+dfsg-5ubuntu2) ...
Setting up libkadm5srv-mit9:amd64 (1.13.2+dfsg-5ubuntu2) ...
Setting up libkadm5clnt-mit9:amd64 (1.13.2+dfsg-5ubuntu2) ...
Setting up comerr-dev (2.1-1.42.13-1ubuntu1) ...
Setting up krb5-multidev (1.13.2+dfsg-5ubuntu2) ...
Setting up libicu-dev:amd64 (55.1-7ubuntu0.3) ...
Setting up libpq5:amd64 (9.5.10-0ubuntu0.16.04) ...
Setting up libpq-dev (9.5.10-0ubuntu0.16.04) ...
Setting up libxml2-dev:amd64 (2.9.3+dfsg1-1ubuntu0.4) ...
Setting up libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
Setting up libxslt1-dev:amd64 (1.1.28-2.1ubuntu0.1) ...
Setting up libffi-dev:amd64 (3.2.1-4) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Processing triggers for ca-certificates (20170717~16.04.1) ...
Updating certificates in /etc/ssl/certs...
17 added, 42 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
---> 254e15758a7c
Step 3/16 : RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
---> Running in 79474b808dc6
Executing: /tmp/tmp.gZpN9fLtQB/gpg.1.sh --keyserver
ha.pool.sks-keyservers.net
--recv-keys
B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
gpg: requesting key ACCC4CF8 from hkp server ha.pool.sks-keyservers.net
gpg: key ACCC4CF8: public key "PostgreSQL Debian Repository" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
---> 59daa5e1b1b5
Step 4/16 : ENV PG_MAJOR 9.5
---> Running in 0f13cdbdbec9
---> c96604c1c286
Step 5/16 : RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
---> Running in 2083ff58dcd6
---> 838f68151b84
Step 6/16 : RUN apt-get update && apt-get install -y postgresql-client-$PG_MAJOR && rm -rf /var/lib/apt/lists/*
---> Running in 9e07e80a31e3
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt jessie-pgdg InRelease [56.4 kB]
Get:3 http://apt.postgresql.org/pub/repos/apt jessie-pgdg/main amd64 Packages [149 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:6 http://apt.postgresql.org/pub/repos/apt jessie-pgdg/9.5 amd64 Packages [1697 B]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main Sources [1103 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [5179 B]
Get:9 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [360 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3620 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [231 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [876 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.7 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [724 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [126 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [2770 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [55.6 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Sources [1489 B]
Get:23 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [515 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.9 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [237 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3479 B]
Fetched 26.1 MB in 2min 24s (181 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
ifupdown iproute2 isc-dhcp-client isc-dhcp-common libatm1 libdns-export162
libisc-export160 libmnl0 libxtables11 netbase pgdg-keyring
postgresql-client-common
Suggested packages:
ppp rdnssd iproute2-doc resolvconf avahi-autoipd isc-dhcp-client-ddns
apparmor postgresql-9.5 postgresql-doc-9.5
The following NEW packages will be installed:
ifupdown iproute2 isc-dhcp-client isc-dhcp-common libatm1 libdns-export162
libisc-export160 libmnl0 libxtables11 netbase pgdg-keyring
postgresql-client-9.5 postgresql-client-common
0 upgraded, 13 newly installed, 0 to remove and 97 not upgraded.
Need to get 3075 kB of archives.
After this operation, 10.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libatm1 amd64 1:2.5.1-1.5 [24.2 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt jessie-pgdg/main amd64 pgdg-keyring all 2017.3 [10.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmnl0 amd64 1.0.3-5 [12.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 iproute2 amd64 4.3.0-1ubuntu3.16.04.2 [522 kB]
Get:5 http://apt.postgresql.org/pub/repos/apt jessie-pgdg/main amd64 postgresql-client-common all 188.pgdg80+1 [81.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ifupdown amd64 0.8.10ubuntu1.2 [54.9 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libisc-export160 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [153 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdns-export162 amd64 1:9.10.3.dfsg.P4-8ubuntu1.9 [666 kB]
Get:9 http://apt.postgresql.org/pub/repos/apt jessie-pgdg/main amd64 postgresql-client-9.5 amd64 9.5.10-1.pgdg80+1 [1184 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 isc-dhcp-client amd64 4.3.3-5ubuntu12.7 [223 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 isc-dhcp-common amd64 4.3.3-5ubuntu12.7 [105 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtables11 amd64 1.6.0-2ubuntu3 [27.2 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 netbase all 5.3 [12.9 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3075 kB in 11s (260 kB/s)
Selecting previously unselected package libatm1:amd64.
(Reading database ... 19980 files and directories currently installed.)
Preparing to unpack .../libatm1_1%3a2.5.1-1.5_amd64.deb ...
Unpacking libatm1:amd64 (1:2.5.1-1.5) ...
Selecting previously unselected package libmnl0:amd64.
Preparing to unpack .../libmnl0_1.0.3-5_amd64.deb ...
Unpacking libmnl0:amd64 (1.0.3-5) ...
Selecting previously unselected package iproute2.
Preparing to unpack .../iproute2_4.3.0-1ubuntu3.16.04.2_amd64.deb ...
Unpacking iproute2 (4.3.0-1ubuntu3.16.04.2) ...
Selecting previously unselected package ifupdown.
Preparing to unpack .../ifupdown_0.8.10ubuntu1.2_amd64.deb ...
Unpacking ifupdown (0.8.10ubuntu1.2) ...
Selecting previously unselected package libisc-export160.
Preparing to unpack .../libisc-export160_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.9) ...
Selecting previously unselected package libdns-export162.
Preparing to unpack .../libdns-export162_1%3a9.10.3.dfsg.P4-8ubuntu1.9_amd64.deb ...
Unpacking libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.9) ...
Selecting previously unselected package isc-dhcp-client.
Preparing to unpack .../isc-dhcp-client_4.3.3-5ubuntu12.7_amd64.deb ...
Unpacking isc-dhcp-client (4.3.3-5ubuntu12.7) ...
Selecting previously unselected package isc-dhcp-common.
Preparing to unpack .../isc-dhcp-common_4.3.3-5ubuntu12.7_amd64.deb ...
Unpacking isc-dhcp-common (4.3.3-5ubuntu12.7) ...
Selecting previously unselected package libxtables11:amd64.
Preparing to unpack .../libxtables11_1.6.0-2ubuntu3_amd64.deb ...
Unpacking libxtables11:amd64 (1.6.0-2ubuntu3) ...
Selecting previously unselected package netbase.
Preparing to unpack .../archives/netbase_5.3_all.deb ...
Unpacking netbase (5.3) ...
Selecting previously unselected package pgdg-keyring.
Preparing to unpack .../pgdg-keyring_2017.3_all.deb ...
Unpacking pgdg-keyring (2017.3) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../postgresql-client-common_188.pgdg80+1_all.deb ...
Unpacking postgresql-client-common (188.pgdg80+1) ...
Selecting previously unselected package postgresql-client-9.5.
Preparing to unpack .../postgresql-client-9.5_9.5.10-1.pgdg80+1_amd64.deb ...
Unpacking postgresql-client-9.5 (9.5.10-1.pgdg80+1) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Setting up libatm1:amd64 (1:2.5.1-1.5) ...
Setting up libmnl0:amd64 (1.0.3-5) ...
Setting up iproute2 (4.3.0-1ubuntu3.16.04.2) ...
Setting up ifupdown (0.8.10ubuntu1.2) ...
Creating /etc/network/interfaces.
Setting up libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.9) ...
Setting up libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.9) ...
Setting up isc-dhcp-client (4.3.3-5ubuntu12.7) ...
Setting up isc-dhcp-common (4.3.3-5ubuntu12.7) ...
Setting up libxtables11:amd64 (1.6.0-2ubuntu3) ...
Setting up netbase (5.3) ...
Setting up pgdg-keyring (2017.3) ...
Removing apt.postgresql.org key from trusted.gpg: OK
Setting up postgresql-client-common (188.pgdg80+1) ...
Setting up postgresql-client-9.5 (9.5.10-1.pgdg80+1) ...
update-alternatives: using /usr/share/postgresql/9.5/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Processing triggers for systemd (229-4ubuntu16) ...
---> a7b1b38a1ba8
Step 7/16 : ENV PGPASSWORD "critiquebrainz"
---> Running in 940c9ce58eed
---> bd79169eb3fd
Step 8/16 : RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
---> Running in 003903772d08
## Installing the NodeSource Node.js v6.x repo...
## Populating apt-get cache...
+ apt-get update
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://apt.postgresql.org/pub/repos/apt jessie-pgdg InRelease [56.4 kB]
Get:3 http://apt.postgresql.org/pub/repos/apt jessie-pgdg/main amd64 Packages [149 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:5 http://apt.postgresql.org/pub/repos/apt jessie-pgdg/9.5 amd64 Packages [1697 B]
Get:6 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main Sources [1103 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [5179 B]
Get:9 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [360 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [3620 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [231 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [876 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.7 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [724 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-security/main Sources [126 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-security/restricted Sources [2770 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial-security/universe Sources [55.6 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-security/multiverse Sources [1489 B]
Get:23 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages [515 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.9 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [237 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3479 B]
Fetched 26.1 MB in 3min 32s (123 kB/s)
Reading package lists...
## Confirming "xenial" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_6.x/dists/xenial/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js v6.x repo...
+ echo 'deb https://deb.nodesource.com/node_6.x xenial main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_6.x xenial main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 https://deb.nodesource.com/node_6.x xenial InRelease [4634 B]
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://apt.postgresql.org/pub/repos/apt jessie-pgdg InRelease
Get:5 https://deb.nodesource.com/node_6.x xenial/main amd64 Packages [1003 B]
Hit:6 http://archive.ubuntu.com/ubuntu xenial-security InRelease
Fetched 5637 B in 1s (5088 B/s)
Reading package lists...
## Run `apt-get install nodejs` (as root) to install Node.js v6.x and npm
---> 9103a5aa7baa
Step 9/16 : RUN apt-get install -y nodejs
---> Running in f197ff37b328
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python
python-minimal python2.7 python2.7-minimal
Suggested packages:
python-doc python-tk python2.7-doc binfmt-support
The following NEW packages will be installed:
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib nodejs python
python-minimal python2.7 python2.7-minimal
0 upgraded, 8 newly installed, 0 to remove and 97 not upgraded.
Need to get 13.9 MB of archives.
After this operation, 61.4 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_6.x xenial/main amd64 nodejs amd64 6.12.2-1nodesource1 [9974 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-minimal amd64 2.7.12-1ubuntu0~16.04.2 [338 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-minimal amd64 2.7.12-1ubuntu0~16.04.2 [1294 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-minimal amd64 2.7.11-1 [28.2 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-stdlib amd64 2.7.12-1ubuntu0~16.04.2 [1880 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.2 [224 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpython-stdlib amd64 2.7.11-1 [7656 B]
Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 python amd64 2.7.11-1 [137 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 13.9 MB in 7s (1961 kB/s)
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 20505 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.12-1ubuntu0~16.04.2_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.2) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.12-1ubuntu0~16.04.2_amd64.deb ...
Unpacking python2.7-minimal (2.7.12-1ubuntu0~16.04.2) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.11-1_amd64.deb ...
Unpacking python-minimal (2.7.11-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.12-1ubuntu0~16.04.2_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.2) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.2_amd64.deb ...
Unpacking python2.7 (2.7.12-1ubuntu0~16.04.2) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.11-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.11-1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up libpython2.7-minimal:amd64 (2.7.12-1ubuntu0~16.04.2) ...
Setting up python2.7-minimal (2.7.12-1ubuntu0~16.04.2) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.11-1) ...
Selecting previously unselected package python.
(Reading database ... 21252 files and directories currently installed.)
Preparing to unpack .../python_2.7.11-1_amd64.deb ...
Unpacking python (2.7.11-1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_6.12.2-1nodesource1_amd64.deb ...
Unpacking nodejs (6.12.2-1nodesource1) ...
Setting up libpython2.7-stdlib:amd64 (2.7.12-1ubuntu0~16.04.2) ...
Setting up python2.7 (2.7.12-1ubuntu0~16.04.2) ...
Setting up libpython-stdlib:amd64 (2.7.11-1) ...
Setting up python (2.7.11-1) ...
Setting up nodejs (6.12.2-1nodesource1) ...
---> f7c987cd9ece
Step 10/16 : RUN mkdir /code
---> Running in 134353a27bf6
---> 9d9e3fc13e77
Step 11/16 : WORKDIR /code
---> 7204210bc0d7
Step 12/16 : COPY requirements.txt /code/
---> 22929256a108
Step 13/16 : RUN pip install -r requirements.txt
---> Running in a27d0a02add5
Collecting git+https://github.com/metabrainz/brainzutils-python.git@v1.3.0 (from -r requirements.txt (line 1))
Cloning https://github.com/metabrainz/brainzutils-python.git (to v1.3.0) to /tmp/pip-_b2_4_zb-build
Collecting beautifulsoup4==4.6.0 (from -r requirements.txt (line 2))
Downloading beautifulsoup4-4.6.0-py3-none-any.whl (86kB)
Collecting coverage==4.4.1 (from -r requirements.txt (line 3))
Downloading coverage-4.4.1-cp36-cp36m-manylinux1_x86_64.whl (196kB)
Collecting click==6.7 (from -r requirements.txt (line 4))
Downloading click-6.7-py2.py3-none-any.whl (71kB)
Collecting Flask-Babel==0.11.2 (from -r requirements.txt (line 5))
Downloading Flask_Babel-0.11.2-py2.py3-none-any.whl
Collecting Flask-Login==0.4.0 (from -r requirements.txt (line 6))
Downloading Flask_Login-0.4.0-py2.py3-none-any.whl
Collecting Flask-SQLAlchemy==2.2 (from -r requirements.txt (line 7))
Downloading Flask_SQLAlchemy-2.2-py2.py3-none-any.whl
Collecting Flask-Testing==0.6.2 (from -r requirements.txt (line 8))
Downloading Flask-Testing-0.6.2.tar.gz (129kB)
Collecting Flask-WTF==0.14.2 (from -r requirements.txt (line 9))
Downloading Flask_WTF-0.14.2-py2.py3-none-any.whl
Collecting Markdown==2.6.8 (from -r requirements.txt (line 10))
Downloading Markdown-2.6.8.tar.gz (307kB)
Collecting mbdata==2017.6.2 (from -r requirements.txt (line 11))
Downloading mbdata-2017.6.2.tar.gz (102kB)
Collecting musicbrainzngs==0.6 (from -r requirements.txt (line 12))
Downloading musicbrainzngs-0.6.tar.gz (111kB)
Collecting pytest==3.2.0 (from -r requirements.txt (line 13))
Downloading pytest-3.2.0-py2.py3-none-any.whl (186kB)
Collecting pytest-cov==2.5.1 (from -r requirements.txt (line 14))
Downloading pytest_cov-2.5.1-py2.py3-none-any.whl
Collecting pylint==1.7.2 (from -r requirements.txt (line 15))
Downloading pylint-1.7.2-py2.py3-none-any.whl (644kB)
Collecting flake8==3.4.1 (from -r requirements.txt (line 16))
Downloading flake8-3.4.1-py2.py3-none-any.whl (68kB)
Collecting psycopg2==2.7.3 (from -r requirements.txt (line 17))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment