image build failed
turingking opened this issue · 1 comments
turingking commented
$ sudo docker build \
> --no-cache \
> --pull \
> -t king/openvpn-as:latest .
[sudo] password for king:
Sending build context to Docker daemon 100.4kB
Step 1/11 : FROM lsiobase/ubuntu:bionic
bionic: Pulling from lsiobase/ubuntu
Digest: sha256:543f598e5e429176d5d6b75ca292acca1f2e3a3d794bb5c484c1e0a78bc380ae
Status: Image is up to date for lsiobase/ubuntu:bionic
---> 3a8771d76cd1
Step 2/11 : ARG BUILD_DATE
---> Running in 02826a441711
Removing intermediate container 02826a441711
---> aa72ede9d769
Step 3/11 : ARG VERSION
---> Running in de460be35b92
Removing intermediate container de460be35b92
---> 1aad39ee9bb1
Step 4/11 : ARG OPENVPNAS_VERSION
---> Running in 3bab96a6be61
Removing intermediate container 3bab96a6be61
---> a4f43ebfdc2e
Step 5/11 : LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
---> Running in a647b652f294
Removing intermediate container a647b652f294
---> b1d92b055422
Step 6/11 : LABEL maintainer="aptalca"
---> Running in 27110374901f
Removing intermediate container 27110374901f
---> c1ac5a80518a
Step 7/11 : ARG DEBIAN_FRONTEND="noninteractive"
---> Running in b7fa9401bfef
Removing intermediate container b7fa9401bfef
---> 4d645812a6a6
Step 8/11 : RUN echo "**** install dependencies ****" && apt-get update && apt-get install -y bridge-utils gnupg iproute2 iptables liblzo2-2 libmariadbclient18 libmysqlclient-dev net-tools python python-mysqldb python-pkg-resources python-pyrad python-serial rsync sqlite3 ucarp && echo "**** add openvpn-as repo ****" && curl -s https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add - && echo "deb http://as-repository.openvpn.net/as/debian bionic main">/etc/apt/sources.list.d/openvpn-as-repo.list && if [ -z ${OPENVPNAS_VERSION+x} ]; then OPENVPNAS_VERSION=$(curl -sX GET http://as-repository.openvpn.net/as/debian/dists/bionic/main/binary-amd64/Packages.gz | gunzip -c |grep -A 7 -m 1 "Package: openvpn-as" | awk -F ": " '/Version/{print $2;exit}'); fi && echo "$OPENVPNAS_VERSION" > /version.txt && echo "**** ensure home folder for abc user set to /config ****" && usermod -d /config abc && echo "**** create admin user and set default password for it ****" && useradd -s /sbin/nologin admin && echo "admin:password" | chpasswd && rm -rf /tmp/*
---> Running in ee8d09352bec
**** install dependencies ****
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/multiverse Sources [216 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/restricted Sources [5,823 B]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main Sources [1,063 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/universe Sources [11.5 MB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,344 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [7,152 B]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [372 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [409 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Sources [8,394 B]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,387 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [73.6 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [20.1 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1,230 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-security/universe Sources [218 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-security/multiverse Sources [3,232 B]
Get:22 http://archive.ubuntu.com/ubuntu bionic-security/restricted Sources [5,992 B]
Get:23 http://archive.ubuntu.com/ubuntu bionic-security/main Sources [194 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [8,815 B]
Get:25 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [856 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [59.3 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [933 kB]
Fetched 31.9 MB in 8s (4,192 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dirmngr file gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm ifupdown isc-dhcp-client isc-dhcp-common
libassuan0 libatm1 libc-dev-bin libc6-dev libdns-export1100 libelf1
libexpat1 libip4tc0 libip6tc0 libiptc0 libisc-export169 libksba8
libmagic-mgc libmagic1 libmnl0 libmysqlclient20 libnetfilter-conntrack3
libnfnetlink0 libnpth0 libpcap0.8 libpopt0 libpython-stdlib
libpython2.7-minimal libpython2.7-stdlib libreadline7 libssl-dev
libxtables12 linux-libc-dev manpages manpages-dev mime-support
multiarch-support mysql-common pinentry-curses python-minimal python-six
python2.7 python2.7-minimal readline-common xz-utils zlib1g-dev
Suggested packages:
dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage
scdaemon ppp rdnssd iproute2-doc kmod resolvconf avahi-autoipd
isc-dhcp-client-ddns glibc-doc libssl-doc man-browser pinentry-doc
python-doc python-tk default-mysql-server | virtual-mysql-server
python-egenix-mxdatetime python-mysqldb-dbg python-setuptools
python-wxgtk3.0 | python-wxgtk python2.7-doc binutils binfmt-support
readline-doc openssh-client openssh-server sqlite3-doc
The following NEW packages will be installed:
bridge-utils dirmngr file gnupg gnupg-l10n gnupg-utils gpg gpg-agent
gpg-wks-client gpg-wks-server gpgconf gpgsm ifupdown iproute2 iptables
isc-dhcp-client isc-dhcp-common libassuan0 libatm1 libc-dev-bin libc6-dev
libdns-export1100 libelf1 libexpat1 libip4tc0 libip6tc0 libiptc0
libisc-export169 libksba8 liblzo2-2 libmagic-mgc libmagic1
libmariadbclient18 libmnl0 libmysqlclient-dev libmysqlclient20
libnetfilter-conntrack3 libnfnetlink0 libnpth0 libpcap0.8 libpopt0
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libreadline7
libssl-dev libxtables12 linux-libc-dev manpages manpages-dev mime-support
multiarch-support mysql-common net-tools pinentry-curses python
python-minimal python-mysqldb python-pkg-resources python-pyrad
python-serial python-six python2.7 python2.7-minimal readline-common rsync
sqlite3 ucarp xz-utils zlib1g-dev
0 upgraded, 70 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.3 MB of archives.
After this operation, 97.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 multiarch-support amd64 2.27-3ubuntu1 [6,916 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnfnetlink0 amd64 1.0.1-3 [13.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblzo2-2 amd64 2.08-1.2 [48.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-minimal amd64 2.7.17-1~18.04ubuntu1 [335 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7-minimal amd64 2.7.17-1~18.04ubuntu1 [1,294 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-minimal amd64 2.7.15~rc1-1 [28.1 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 mime-support all 3.60ubuntu1 [30.1 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1 amd64 2.2.5-3ubuntu0.2 [80.5 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 readline-common all 7.0-3 [52.9 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 libreadline7 amd64 7.0-3 [124 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython2.7-stdlib amd64 2.7.17-1~18.04ubuntu1 [1,915 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python2.7 amd64 2.7.17-1~18.04ubuntu1 [248 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpython-stdlib amd64 2.7.15~rc1-1 [7,620 B]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 python amd64 2.7.15~rc1-1 [140 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic-mgc amd64 1:5.32-2ubuntu0.4 [184 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic1 amd64 1:5.32-2ubuntu0.4 [68.6 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 file amd64 1:5.32-2ubuntu0.4 [22.1 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libelf1 amd64 0.170-0.4ubuntu0.1 [44.8 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmnl0 amd64 1.0.4-2 [12.3 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 iproute2 amd64 4.15.0-2ubuntu1.1 [723 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libisc-export169 amd64 1:9.11.3+dfsg-1ubuntu1.12 [163 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdns-export1100 amd64 1:9.11.3+dfsg-1ubuntu1.12 [748 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 isc-dhcp-client amd64 4.3.5-3ubuntu7.1 [244 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 isc-dhcp-common amd64 4.3.5-3ubuntu7.1 [45.8 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libatm1 amd64 1:2.5.1-2build1 [21.9 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libip4tc0 amd64 1.6.1-2ubuntu2 [19.6 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpopt0 amd64 1.16-11 [26.2 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxtables12 amd64 1.6.1-2ubuntu2 [27.9 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 xz-utils amd64 5.2.2-1.3 [83.8 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libip6tc0 amd64 1.6.1-2ubuntu2 [19.9 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic/main amd64 libiptc0 amd64 1.6.1-2ubuntu2 [9,308 B]
Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnetfilter-conntrack3 amd64 1.0.6-2 [37.8 kB]
Get:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 iptables amd64 1.6.1-2ubuntu2 [269 kB]
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpcap0.8 amd64 1.8.1-6ubuntu1.18.04.1 [118 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages all 4.15-1 [1,234 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 rsync amd64 3.1.2-2.1ubuntu1.1 [334 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 bridge-utils amd64 1.5-15ubuntu1 [30.1 kB]
Get:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 libassuan0 amd64 2.5.1-2 [35.0 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgconf amd64 2.2.4-1ubuntu1.2 [123 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic/main amd64 libksba8 amd64 1.3.5-2 [92.6 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnpth0 amd64 1.5-3 [7,668 B]
Get:42 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dirmngr amd64 2.2.4-1ubuntu1.2 [316 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-l10n all 2.2.4-1ubuntu1.2 [49.6 kB]
Get:44 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-utils amd64 2.2.4-1ubuntu1.2 [127 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg amd64 2.2.4-1ubuntu1.2 [467 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic/main amd64 pinentry-curses amd64 1.1.0-1 [35.8 kB]
Get:47 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-agent amd64 2.2.4-1ubuntu1.2 [227 kB]
Get:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-client amd64 2.2.4-1ubuntu1.2 [91.9 kB]
Get:49 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-server amd64 2.2.4-1ubuntu1.2 [84.9 kB]
Get:50 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgsm amd64 2.2.4-1ubuntu1.2 [215 kB]
Get:51 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg amd64 2.2.4-1ubuntu1.2 [249 kB]
Get:52 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 ifupdown amd64 0.8.17ubuntu1.1 [55.9 kB]
Get:53 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc-dev-bin amd64 2.27-3ubuntu1 [71.8 kB]
Get:54 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-101.102 [994 kB]
Get:55 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc6-dev amd64 2.27-3ubuntu1 [2,587 kB]
Get:56 http://archive.ubuntu.com/ubuntu bionic/main amd64 mysql-common all 5.8+1.0.4 [7,308 B]
Get:57 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libmariadbclient18 amd64 1:10.1.44-0ubuntu0.18.04.1 [727 kB]
Get:58 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmysqlclient20 amd64 5.7.30-0ubuntu0.18.04.1 [690 kB]
Get:59 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl-dev amd64 1.1.1-1ubuntu2.1~18.04.6 [1,566 kB]
Get:60 http://archive.ubuntu.com/ubuntu bionic/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-0ubuntu2 [176 kB]
Get:61 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmysqlclient-dev amd64 5.7.30-0ubuntu0.18.04.1 [989 kB]
Get:62 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2,217 kB]
Get:63 http://archive.ubuntu.com/ubuntu bionic/main amd64 net-tools amd64 1.60+git20161116.90da8a0-1ubuntu1 [194 kB]
Get:64 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-mysqldb amd64 1.3.10-1build1 [49.2 kB]
Get:65 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
Get:66 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-six all 1.11.0-2 [11.3 kB]
Get:67 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python-pyrad all 2.0-3 [24.4 kB]
Get:68 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-serial all 3.4-2 [71.9 kB]
Get:69 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 sqlite3 amd64 3.22.0-1ubuntu0.3 [752 kB]
Get:70 http://archive.ubuntu.com/ubuntu bionic/universe amd64 ucarp amd64 1.5.2-2.1 [30.0 kB]
Fetched 22.3 MB in 7s (3,182 kB/s)
Selecting previously unselected package multiarch-support.
(Reading database ... 7170 files and directories currently installed.)
Preparing to unpack .../multiarch-support_2.27-3ubuntu1_amd64.deb ...
Unpacking multiarch-support (2.27-3ubuntu1) ...
Setting up multiarch-support (2.27-3ubuntu1) ...
Selecting previously unselected package libnfnetlink0:amd64.
(Reading database ... 7173 files and directories currently installed.)
Preparing to unpack .../00-libnfnetlink0_1.0.1-3_amd64.deb ...
Unpacking libnfnetlink0:amd64 (1.0.1-3) ...
Selecting previously unselected package liblzo2-2:amd64.
Preparing to unpack .../01-liblzo2-2_2.08-1.2_amd64.deb ...
Unpacking liblzo2-2:amd64 (2.08-1.2) ...
Selecting previously unselected package libpython2.7-minimal:amd64.
Preparing to unpack .../02-libpython2.7-minimal_2.7.17-1~18.04ubuntu1_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.17-1~18.04ubuntu1) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../03-python2.7-minimal_2.7.17-1~18.04ubuntu1_amd64.deb ...
Unpacking python2.7-minimal (2.7.17-1~18.04ubuntu1) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../04-python-minimal_2.7.15~rc1-1_amd64.deb ...
Unpacking python-minimal (2.7.15~rc1-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../05-mime-support_3.60ubuntu1_all.deb ...
Unpacking mime-support (3.60ubuntu1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../06-libexpat1_2.2.5-3ubuntu0.2_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.2) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../07-readline-common_7.0-3_all.deb ...
Unpacking readline-common (7.0-3) ...
Selecting previously unselected package libreadline7:amd64.
Preparing to unpack .../08-libreadline7_7.0-3_amd64.deb ...
Unpacking libreadline7:amd64 (7.0-3) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../09-libpython2.7-stdlib_2.7.17-1~18.04ubuntu1_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.17-1~18.04ubuntu1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../10-python2.7_2.7.17-1~18.04ubuntu1_amd64.deb ...
Unpacking python2.7 (2.7.17-1~18.04ubuntu1) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../11-libpython-stdlib_2.7.15~rc1-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.15~rc1-1) ...
Setting up libpython2.7-minimal:amd64 (2.7.17-1~18.04ubuntu1) ...
Setting up python2.7-minimal (2.7.17-1~18.04ubuntu1) ...
Setting up python-minimal (2.7.15~rc1-1) ...
Selecting previously unselected package python.
(Reading database ... 7994 files and directories currently installed.)
Preparing to unpack .../00-python_2.7.15~rc1-1_amd64.deb ...
Unpacking python (2.7.15~rc1-1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../01-libmagic-mgc_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking libmagic-mgc (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../02-libmagic1_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package file.
Preparing to unpack .../03-file_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking file (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../04-libelf1_0.170-0.4ubuntu0.1_amd64.deb ...
Unpacking libelf1:amd64 (0.170-0.4ubuntu0.1) ...
Selecting previously unselected package libmnl0:amd64.
Preparing to unpack .../05-libmnl0_1.0.4-2_amd64.deb ...
Unpacking libmnl0:amd64 (1.0.4-2) ...
Selecting previously unselected package iproute2.
Preparing to unpack .../06-iproute2_4.15.0-2ubuntu1.1_amd64.deb ...
Unpacking iproute2 (4.15.0-2ubuntu1.1) ...
Selecting previously unselected package libisc-export169:amd64.
Preparing to unpack .../07-libisc-export169_1%3a9.11.3+dfsg-1ubuntu1.12_amd64.deb ...
Unpacking libisc-export169:amd64 (1:9.11.3+dfsg-1ubuntu1.12) ...
Selecting previously unselected package libdns-export1100.
Preparing to unpack .../08-libdns-export1100_1%3a9.11.3+dfsg-1ubuntu1.12_amd64.deb ...
Unpacking libdns-export1100 (1:9.11.3+dfsg-1ubuntu1.12) ...
Selecting previously unselected package isc-dhcp-client.
Preparing to unpack .../09-isc-dhcp-client_4.3.5-3ubuntu7.1_amd64.deb ...
Unpacking isc-dhcp-client (4.3.5-3ubuntu7.1) ...
Selecting previously unselected package isc-dhcp-common.
Preparing to unpack .../10-isc-dhcp-common_4.3.5-3ubuntu7.1_amd64.deb ...
Unpacking isc-dhcp-common (4.3.5-3ubuntu7.1) ...
Selecting previously unselected package libatm1:amd64.
Preparing to unpack .../11-libatm1_1%3a2.5.1-2build1_amd64.deb ...
Unpacking libatm1:amd64 (1:2.5.1-2build1) ...
Selecting previously unselected package libip4tc0:amd64.
Preparing to unpack .../12-libip4tc0_1.6.1-2ubuntu2_amd64.deb ...
Unpacking libip4tc0:amd64 (1.6.1-2ubuntu2) ...
Selecting previously unselected package libpopt0:amd64.
Preparing to unpack .../13-libpopt0_1.16-11_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-11) ...
Selecting previously unselected package libxtables12:amd64.
Preparing to unpack .../14-libxtables12_1.6.1-2ubuntu2_amd64.deb ...
Unpacking libxtables12:amd64 (1.6.1-2ubuntu2) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../15-xz-utils_5.2.2-1.3_amd64.deb ...
Unpacking xz-utils (5.2.2-1.3) ...
Selecting previously unselected package libip6tc0:amd64.
Preparing to unpack .../16-libip6tc0_1.6.1-2ubuntu2_amd64.deb ...
Unpacking libip6tc0:amd64 (1.6.1-2ubuntu2) ...
Selecting previously unselected package libiptc0:amd64.
Preparing to unpack .../17-libiptc0_1.6.1-2ubuntu2_amd64.deb ...
Unpacking libiptc0:amd64 (1.6.1-2ubuntu2) ...
Selecting previously unselected package libnetfilter-conntrack3:amd64.
Preparing to unpack .../18-libnetfilter-conntrack3_1.0.6-2_amd64.deb ...
Unpacking libnetfilter-conntrack3:amd64 (1.0.6-2) ...
Selecting previously unselected package iptables.
Preparing to unpack .../19-iptables_1.6.1-2ubuntu2_amd64.deb ...
Unpacking iptables (1.6.1-2ubuntu2) ...
Selecting previously unselected package libpcap0.8:amd64.
Preparing to unpack .../20-libpcap0.8_1.8.1-6ubuntu1.18.04.1_amd64.deb ...
Unpacking libpcap0.8:amd64 (1.8.1-6ubuntu1.18.04.1) ...
Selecting previously unselected package manpages.
Preparing to unpack .../21-manpages_4.15-1_all.deb ...
Unpacking manpages (4.15-1) ...
Selecting previously unselected package rsync.
Preparing to unpack .../22-rsync_3.1.2-2.1ubuntu1.1_amd64.deb ...
Unpacking rsync (3.1.2-2.1ubuntu1.1) ...
Selecting previously unselected package bridge-utils.
Preparing to unpack .../23-bridge-utils_1.5-15ubuntu1_amd64.deb ...
Unpacking bridge-utils (1.5-15ubuntu1) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../24-libassuan0_2.5.1-2_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.1-2) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../25-gpgconf_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgconf (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../26-libksba8_1.3.5-2_amd64.deb ...
Unpacking libksba8:amd64 (1.3.5-2) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../27-libnpth0_1.5-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.5-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../28-dirmngr_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking dirmngr (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../29-gnupg-l10n_2.2.4-1ubuntu1.2_all.deb ...
Unpacking gnupg-l10n (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../30-gnupg-utils_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gnupg-utils (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg.
Preparing to unpack .../31-gpg_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../32-pinentry-curses_1.1.0-1_amd64.deb ...
Unpacking pinentry-curses (1.1.0-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../33-gpg-agent_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-agent (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../34-gpg-wks-client_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-wks-client (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../35-gpg-wks-server_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpg-wks-server (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../36-gpgsm_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gpgsm (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../37-gnupg_2.2.4-1ubuntu1.2_amd64.deb ...
Unpacking gnupg (2.2.4-1ubuntu1.2) ...
Selecting previously unselected package ifupdown.
Preparing to unpack .../38-ifupdown_0.8.17ubuntu1.1_amd64.deb ...
Unpacking ifupdown (0.8.17ubuntu1.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../39-libc-dev-bin_2.27-3ubuntu1_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../40-linux-libc-dev_4.15.0-101.102_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-101.102) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../41-libc6-dev_2.27-3ubuntu1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../42-mysql-common_5.8+1.0.4_all.deb ...
Unpacking mysql-common (5.8+1.0.4) ...
Selecting previously unselected package libmariadbclient18:amd64.
Preparing to unpack .../43-libmariadbclient18_1%3a10.1.44-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libmariadbclient18:amd64 (1:10.1.44-0ubuntu0.18.04.1) ...
Selecting previously unselected package libmysqlclient20:amd64.
Preparing to unpack .../44-libmysqlclient20_5.7.30-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libmysqlclient20:amd64 (5.7.30-0ubuntu0.18.04.1) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../45-libssl-dev_1.1.1-1ubuntu2.1~18.04.6_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.6) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../46-zlib1g-dev_1%3a1.2.11.dfsg-0ubuntu2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
Selecting previously unselected package libmysqlclient-dev.
Preparing to unpack .../47-libmysqlclient-dev_5.7.30-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libmysqlclient-dev (5.7.30-0ubuntu0.18.04.1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../48-manpages-dev_4.15-1_all.deb ...
Unpacking manpages-dev (4.15-1) ...
Selecting previously unselected package net-tools.
Preparing to unpack .../49-net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb ...
Unpacking net-tools (1.60+git20161116.90da8a0-1ubuntu1) ...
Selecting previously unselected package python-mysqldb.
Preparing to unpack .../50-python-mysqldb_1.3.10-1build1_amd64.deb ...
Unpacking python-mysqldb (1.3.10-1build1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../51-python-pkg-resources_39.0.1-2_all.deb ...
Unpacking python-pkg-resources (39.0.1-2) ...
Selecting previously unselected package python-six.
Preparing to unpack .../52-python-six_1.11.0-2_all.deb ...
Unpacking python-six (1.11.0-2) ...
Selecting previously unselected package python-pyrad.
Preparing to unpack .../53-python-pyrad_2.0-3_all.deb ...
Unpacking python-pyrad (2.0-3) ...
Selecting previously unselected package python-serial.
Preparing to unpack .../54-python-serial_3.4-2_all.deb ...
Unpacking python-serial (3.4-2) ...
Selecting previously unselected package sqlite3.
Preparing to unpack .../55-sqlite3_3.22.0-1ubuntu0.3_amd64.deb ...
Unpacking sqlite3 (3.22.0-1ubuntu0.3) ...
Selecting previously unselected package ucarp.
Preparing to unpack .../56-ucarp_1.5.2-2.1_amd64.deb ...
Unpacking ucarp (1.5.2-2.1) ...
Setting up libnpth0:amd64 (1.5-3) ...
Setting up readline-common (7.0-3) ...
Setting up manpages (4.15-1) ...
Setting up libpopt0:amd64 (1.16-11) ...
Setting up libexpat1:amd64 (2.2.5-3ubuntu0.2) ...
Setting up libip4tc0:amd64 (1.6.1-2ubuntu2) ...
Setting up mime-support (3.60ubuntu1) ...
Setting up isc-dhcp-common (4.3.5-3ubuntu7.1) ...
Setting up libreadline7:amd64 (7.0-3) ...
Setting up libisc-export169:amd64 (1:9.11.3+dfsg-1ubuntu1.12) ...
Setting up libelf1:amd64 (0.170-0.4ubuntu0.1) ...
Setting up libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.6) ...
Setting up mysql-common (5.8+1.0.4) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up linux-libc-dev:amd64 (4.15.0-101.102) ...
Setting up libiptc0:amd64 (1.6.1-2ubuntu2) ...
Setting up libksba8:amd64 (1.3.5-2) ...
Setting up libmariadbclient18:amd64 (1:10.1.44-0ubuntu0.18.04.1) ...
Setting up sqlite3 (3.22.0-1ubuntu0.3) ...
Setting up bridge-utils (1.5-15ubuntu1) ...
Setting up libmagic-mgc (1:5.32-2ubuntu0.4) ...
Setting up gnupg-l10n (2.2.4-1ubuntu1.2) ...
Setting up libmagic1:amd64 (1:5.32-2ubuntu0.4) ...
Setting up rsync (3.1.2-2.1ubuntu1.1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up libatm1:amd64 (1:2.5.1-2build1) ...
Setting up libxtables12:amd64 (1.6.1-2ubuntu2) ...
Setting up xz-utils (5.2.2-1.3) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
Setting up libdns-export1100 (1:9.11.3+dfsg-1ubuntu1.12) ...
Setting up libnfnetlink0:amd64 (1.0.1-3) ...
Setting up libmysqlclient20:amd64 (5.7.30-0ubuntu0.18.04.1) ...
Setting up libc-dev-bin (2.27-3ubuntu1) ...
Setting up net-tools (1.60+git20161116.90da8a0-1ubuntu1) ...
Setting up manpages-dev (4.15-1) ...
Setting up libc6-dev:amd64 (2.27-3ubuntu1) ...
Setting up libmnl0:amd64 (1.0.4-2) ...
Setting up libassuan0:amd64 (2.5.1-2) ...
Setting up libpython2.7-stdlib:amd64 (2.7.17-1~18.04ubuntu1) ...
Setting up libip6tc0:amd64 (1.6.1-2ubuntu2) ...
Setting up liblzo2-2:amd64 (2.08-1.2) ...
Setting up libpcap0.8:amd64 (1.8.1-6ubuntu1.18.04.1) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-0ubuntu2) ...
Setting up libnetfilter-conntrack3:amd64 (1.0.6-2) ...
Setting up libmysqlclient-dev (5.7.30-0ubuntu0.18.04.1) ...
Setting up gpgconf (2.2.4-1ubuntu1.2) ...
Setting up python2.7 (2.7.17-1~18.04ubuntu1) ...
Setting up file (1:5.32-2ubuntu0.4) ...
Setting up iproute2 (4.15.0-2ubuntu1.1) ...
Setting up isc-dhcp-client (4.3.5-3ubuntu7.1) ...
Setting up libpython-stdlib:amd64 (2.7.15~rc1-1) ...
Setting up iptables (1.6.1-2ubuntu2) ...
Setting up gpgsm (2.2.4-1ubuntu1.2) ...
Setting up gnupg-utils (2.2.4-1ubuntu1.2) ...
Setting up pinentry-curses (1.1.0-1) ...
Setting up dirmngr (2.2.4-1ubuntu1.2) ...
Setting up python (2.7.15~rc1-1) ...
Setting up gpg (2.2.4-1ubuntu1.2) ...
Setting up ifupdown (0.8.17ubuntu1.1) ...
Creating /etc/network/interfaces.
Setting up gpg-agent (2.2.4-1ubuntu1.2) ...
Setting up gpg-wks-server (2.2.4-1ubuntu1.2) ...
Setting up python-pkg-resources (39.0.1-2) ...
Setting up gpg-wks-client (2.2.4-1ubuntu1.2) ...
Setting up python-six (1.11.0-2) ...
Setting up python-mysqldb (1.3.10-1build1) ...
Setting up python-serial (3.4-2) ...
Setting up ucarp (1.5.2-2.1) ...
Setting up python-pyrad (2.0-3) ...
Setting up gnupg (2.2.4-1ubuntu1.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
**** add openvpn-as repo ****
Warning: apt-key output should not be parsed (stdout is not a terminal)
gpg: no valid OpenPGP data found.
The command '/bin/sh -c echo "**** install dependencies ****" && apt-get update && apt-get install -y bridge-utils gnupg iproute2 iptables liblzo2-2 libmariadbclient18 libmysqlclient-dev net-tools python python-mysqldb python-pkg-resources python-pyrad python-serial rsync sqlite3 ucarp && echo "**** add openvpn-as repo ****" && curl -s https://as-repository.openvpn.net/as-repo-public.gpg | apt-key add - && echo "deb http://as-repository.openvpn.net/as/debian bionic main">/etc/apt/sources.list.d/openvpn-as-repo.list && if [ -z ${OPENVPNAS_VERSION+x} ]; then OPENVPNAS_VERSION=$(curl -sX GET http://as-repository.openvpn.net/as/debian/dists/bionic/main/binary-amd64/Packages.gz | gunzip -c |grep -A 7 -m 1 "Package: openvpn-as" | awk -F ": " '/Version/{print $2;exit}'); fi && echo "$OPENVPNAS_VERSION" > /version.txt && echo "**** ensure home folder for abc user set to /config ****" && usermod -d /config abc && echo "**** create admin user and set default password for it ****" && useradd -s /sbin/nologin admin && echo "admin:password" | chpasswd && rm -rf /tmp/*' returned a non-zero code: 2
tobbenb commented
Use our image. We don't support building the image yourself.