Closed gmacario closed 5 years ago
Also reproduced on host nemo (Ubuntu 18.04.1 LTS 64-bit)
gpmacario@nemo:~/github/gmacario/easy-jenkins (master)*$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
gpmacario@nemo:~/github/gmacario/easy-jenkins (master)*$ git rev-parse HEAD
245931e98560574ad7e80bd0d49a5b0da9747a2e
gpmacario@nemo:~/github/gmacario/easy-jenkins (master)*$ docker-compose build --pull --no-cache
nexus uses an image, skipping
Building myjenkins
Step 1/14 : FROM jenkins/jenkins
latest: Pulling from jenkins/jenkins
Digest: sha256:89cb0908dc150ebe7ac8ea8838f963a872cfff3dbdc3b2279bebb8885c5025cb
Status: Image is up to date for jenkins/jenkins:latest
---> d82159eced68
Step 2/14 : USER root
---> Running in 18762617420c
Removing intermediate container 18762617420c
---> 42e78d577ae9
Step 3/14 : RUN apt-get update -qq && apt-cache search groovy && apt-get install -qqy apt-transport-https ca-certificates curl wget lxc iptables dos2unix groovy
---> Running in 29b37b0a10b0
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
libcodenarc-groovy-java - Groovy library that provides static analysis features for Groovy code
libcodenarc-groovy-java-doc - Documentation for libcodenarc-groovy-java
libcommons-jci-groovy-java - common Java interface for various compilers - Groovy
freeplane-scripting-api - Java program for working with Mind Maps (groovy scripting API)
gant - Groovy build framework based on scripting Ant tasks
libgmetrics-groovy-java - Groovy library that provides reports and metrics for Groovy code
libgmetrics-groovy-java-doc - Documentation for libgmetrics-groovy-java
libgraxxia-java - Wrappers for doing Mathematics in Groovy
groovy - Agile dynamic language for the Java Virtual Machine
groovy-doc - Agile dynamic language for the Java Virtual Machine (documentation)
groovy2 - Agile dynamic language for the Java Virtual Machine (transitional package)
libgroovycsv-java - CSV parsing library for Groovy
libgpars-groovy-java - open-source concurrency library for Groovy
libgpars-groovy-java-doc - documentation for libgpars-groovy-java
libnative-platform-java-doc - testing and specification framework for Java and Groovy - Docs
libspock-java - testing and specification framework for Java and Groovy application
libspock-java-doc - testing and specification framework for Java and Groovy - Docs
WARNING: The following packages cannot be authenticated!
libnfnetlink0 python3-minimal libmpdec2 libpython3-stdlib dh-python python3
libip4tc0 libip6tc0 libiptc0 libxtables12 libnetfilter-conntrack3 iptables
libpopt0 libantlr-java antlr apt-transport-https bridge-utils cgroupfs-mount
ivy libhamcrest-java junit4 libasm-java libapache-pom-java libbsf-java
libcommons-cli-java libcommons-parent-java libcommons-logging-java
libhawtjni-runtime-java libjansi-native-java libjansi-java libjline2-java
libqdox-java libxpp3-java libxstream-java groovy libbsh-java
libnetty-3.9-java libjsr166y-java libjcsp-java libmultiverse-core-java
libgpars-groovy-java libjcommander-java libapparmor1 libseccomp2 liblxc1
libpam-cgfs python3-lxc lxc lxcfs testng uidmap debootstrap dos2unix
libyaml-snake-java
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
ERROR: Service 'myjenkins' failed to build: The command '/bin/sh -c apt-get update -qq && apt-cache search groovy && apt-get install -qqy apt-transport-https ca-certificates curl wget lxc iptables dos2unix groovy' returned a non-zero code: 100
gpmacario@nemo:~/github/gmacario/easy-jenkins (master)*$
Retried and now (2018-11-05 12:00 CET) the docker-compose build ...
command succeeded.
gpmacario@dory:~/github/gmacario/easy-jenkins (master)$ docker-compose build --pull --no-cache
Building myjenkins
Step 1/14 : FROM jenkins/jenkins
latest: Pulling from jenkins/jenkins
Digest: sha256:89cb0908dc150ebe7ac8ea8838f963a872cfff3dbdc3b2279bebb8885c5025cb
Status: Image is up to date for jenkins/jenkins:latest
---> d82159eced68
Step 2/14 : USER root
---> Running in 91f4e5b786eb
Removing intermediate container 91f4e5b786eb
---> 91215354c499
Step 3/14 : RUN apt-get update -qq && apt-cache search groovy && apt-get install -qqy apt-transport-https ca-certificates curl wget lxc iptables dos2unix groovy
---> Running in e2f2dbc49f9a
libcodenarc-groovy-java - Groovy library that provides static analysis features for Groovy code
libcodenarc-groovy-java-doc - Documentation for libcodenarc-groovy-java
libcommons-jci-groovy-java - common Java interface for various compilers - Groovy
freeplane-scripting-api - Java program for working with Mind Maps (groovy scripting API)
gant - Groovy build framework based on scripting Ant tasks
libgmetrics-groovy-java - Groovy library that provides reports and metrics for Groovy code
libgmetrics-groovy-java-doc - Documentation for libgmetrics-groovy-java
libgraxxia-java - Wrappers for doing Mathematics in Groovy
groovy - Agile dynamic language for the Java Virtual Machine
groovy-doc - Agile dynamic language for the Java Virtual Machine (documentation)
groovy2 - Agile dynamic language for the Java Virtual Machine (transitional package)
libgroovycsv-java - CSV parsing library for Groovy
libgpars-groovy-java - open-source concurrency library for Groovy
libgpars-groovy-java-doc - documentation for libgpars-groovy-java
libnative-platform-java-doc - testing and specification framework for Java and Groovy - Docs
libspock-java - testing and specification framework for Java and Groovy application
libspock-java-doc - testing and specification framework for Java and Groovy - Docs
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libnfnetlink0:amd64.
(Reading database ... 21455 files and directories currently installed.)
Preparing to unpack .../0-libnfnetlink0_1.0.1-3_amd64.deb ...
Unpacking libnfnetlink0:amd64 (1.0.1-3) ...
Selecting previously unselected package libpython3.5-minimal:amd64.
Preparing to unpack .../1-libpython3.5-minimal_3.5.3-1+deb9u1_amd64.deb ...
Unpacking libpython3.5-minimal:amd64 (3.5.3-1+deb9u1) ...
Selecting previously unselected package python3.5-minimal.
Preparing to unpack .../2-python3.5-minimal_3.5.3-1+deb9u1_amd64.deb ...
Unpacking python3.5-minimal (3.5.3-1+deb9u1) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../3-python3-minimal_3.5.3-1_amd64.deb ...
Unpacking python3-minimal (3.5.3-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../4-libmpdec2_2.4.2-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-1) ...
Selecting previously unselected package libpython3.5-stdlib:amd64.
Preparing to unpack .../5-libpython3.5-stdlib_3.5.3-1+deb9u1_amd64.deb ...
Unpacking libpython3.5-stdlib:amd64 (3.5.3-1+deb9u1) ...
Selecting previously unselected package python3.5.
Preparing to unpack .../6-python3.5_3.5.3-1+deb9u1_amd64.deb ...
Unpacking python3.5 (3.5.3-1+deb9u1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../7-libpython3-stdlib_3.5.3-1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.5.3-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../8-dh-python_2.20170125_all.deb ...
Unpacking dh-python (2.20170125) ...
Setting up libpython3.5-minimal:amd64 (3.5.3-1+deb9u1) ...
Setting up python3.5-minimal (3.5.3-1+deb9u1) ...
Setting up python3-minimal (3.5.3-1) ...
Selecting previously unselected package python3.
(Reading database ... 22374 files and directories currently installed.)
Preparing to unpack .../00-python3_3.5.3-1_amd64.deb ...
Unpacking python3 (3.5.3-1) ...
Selecting previously unselected package libip4tc0:amd64.
Preparing to unpack .../01-libip4tc0_1.6.0+snapshot20161117-6_amd64.deb ...
Unpacking libip4tc0:amd64 (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libip6tc0:amd64.
Preparing to unpack .../02-libip6tc0_1.6.0+snapshot20161117-6_amd64.deb ...
Unpacking libip6tc0:amd64 (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libiptc0:amd64.
Preparing to unpack .../03-libiptc0_1.6.0+snapshot20161117-6_amd64.deb ...
Unpacking libiptc0:amd64 (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libxtables12:amd64.
Preparing to unpack .../04-libxtables12_1.6.0+snapshot20161117-6_amd64.deb ...
Unpacking libxtables12:amd64 (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libnetfilter-conntrack3:amd64.
Preparing to unpack .../05-libnetfilter-conntrack3_1.0.6-2_amd64.deb ...
Unpacking libnetfilter-conntrack3:amd64 (1.0.6-2) ...
Selecting previously unselected package iptables.
Preparing to unpack .../06-iptables_1.6.0+snapshot20161117-6_amd64.deb ...
Unpacking iptables (1.6.0+snapshot20161117-6) ...
Selecting previously unselected package libpopt0:amd64.
Preparing to unpack .../07-libpopt0_1.16-10+b2_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-10+b2) ...
Selecting previously unselected package ant.
Preparing to unpack .../08-ant_1.9.9-1+deb9u1_all.deb ...
Unpacking ant (1.9.9-1+deb9u1) ...
Selecting previously unselected package ant-optional.
Preparing to unpack .../09-ant-optional_1.9.9-1+deb9u1_all.deb ...
Unpacking ant-optional (1.9.9-1+deb9u1) ...
Selecting previously unselected package libantlr-java.
Preparing to unpack .../10-libantlr-java_2.7.7+dfsg-7_all.deb ...
Unpacking libantlr-java (2.7.7+dfsg-7) ...
Selecting previously unselected package antlr.
Preparing to unpack .../11-antlr_2.7.7+dfsg-7_all.deb ...
Unpacking antlr (2.7.7+dfsg-7) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../12-apt-transport-https_1.4.8_amd64.deb ...
Unpacking apt-transport-https (1.4.8) ...
Selecting previously unselected package bridge-utils.
Preparing to unpack .../13-bridge-utils_1.5-13+deb9u1_amd64.deb ...
Unpacking bridge-utils (1.5-13+deb9u1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../14-cgroupfs-mount_1.3_all.deb ...
Unpacking cgroupfs-mount (1.3) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../15-dns-root-data_2017072601~deb9u1_all.deb ...
Unpacking dns-root-data (2017072601~deb9u1) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../16-dnsmasq-base_2.76-5+deb9u1_amd64.deb ...
Unpacking dnsmasq-base (2.76-5+deb9u1) ...
Selecting previously unselected package ivy.
Preparing to unpack .../17-ivy_2.4.0-3_all.deb ...
Unpacking ivy (2.4.0-3) ...
Selecting previously unselected package libhamcrest-java.
Preparing to unpack .../18-libhamcrest-java_1.3-6_all.deb ...
Unpacking libhamcrest-java (1.3-6) ...
Selecting previously unselected package junit4.
Preparing to unpack .../19-junit4_4.12-4_all.deb ...
Unpacking junit4 (4.12-4) ...
Selecting previously unselected package libasm-java.
Preparing to unpack .../20-libasm-java_5.2-2_all.deb ...
Unpacking libasm-java (5.2-2) ...
Selecting previously unselected package libapache-pom-java.
Preparing to unpack .../21-libapache-pom-java_10-2_all.deb ...
Unpacking libapache-pom-java (10-2) ...
Selecting previously unselected package libbsf-java.
Preparing to unpack .../22-libbsf-java_1%3a2.4.0-5_all.deb ...
Unpacking libbsf-java (1:2.4.0-5) ...
Selecting previously unselected package libcommons-cli-java.
Preparing to unpack .../23-libcommons-cli-java_1.3.1-3_all.deb ...
Unpacking libcommons-cli-java (1.3.1-3) ...
Selecting previously unselected package libcommons-parent-java.
Preparing to unpack .../24-libcommons-parent-java_39-3_all.deb ...
Unpacking libcommons-parent-java (39-3) ...
Selecting previously unselected package libcommons-logging-java.
Preparing to unpack .../25-libcommons-logging-java_1.2-1_all.deb ...
Unpacking libcommons-logging-java (1.2-1) ...
Selecting previously unselected package libhawtjni-runtime-java.
Preparing to unpack .../26-libhawtjni-runtime-java_1.14-1_all.deb ...
Unpacking libhawtjni-runtime-java (1.14-1) ...
Selecting previously unselected package libjansi-native-java.
Preparing to unpack .../27-libjansi-native-java_1.6-1_all.deb ...
Unpacking libjansi-native-java (1.6-1) ...
Selecting previously unselected package libjansi-java.
Preparing to unpack .../28-libjansi-java_1.14-1_all.deb ...
Unpacking libjansi-java (1.14-1) ...
Selecting previously unselected package libjline2-java.
Preparing to unpack .../29-libjline2-java_2.11-4_all.deb ...
Unpacking libjline2-java (2.11-4) ...
Selecting previously unselected package libqdox-java.
Preparing to unpack .../30-libqdox-java_1.12.1-2_all.deb ...
Unpacking libqdox-java (1.12.1-2) ...
Selecting previously unselected package libservlet3.1-java.
Preparing to unpack .../31-libservlet3.1-java_8.5.14-1+deb9u3_all.deb ...
Unpacking libservlet3.1-java (8.5.14-1+deb9u3) ...
Selecting previously unselected package libxpp3-java.
Preparing to unpack .../32-libxpp3-java_1.1.4c-2_all.deb ...
Unpacking libxpp3-java (1.1.4c-2) ...
Selecting previously unselected package libxstream-java.
Preparing to unpack .../33-libxstream-java_1.4.9-2_all.deb ...
Unpacking libxstream-java (1.4.9-2) ...
Selecting previously unselected package groovy.
Preparing to unpack .../34-groovy_2.4.8-1_all.deb ...
Unpacking groovy (2.4.8-1) ...
Selecting previously unselected package libbsh-java.
Preparing to unpack .../35-libbsh-java_2.0b4-18_all.deb ...
Unpacking libbsh-java (2.0b4-18) ...
Selecting previously unselected package libfuse2:amd64.
Preparing to unpack .../36-libfuse2_2.9.7-1+deb9u1_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.7-1+deb9u1) ...
Selecting previously unselected package libnetty-3.9-java.
Preparing to unpack .../37-libnetty-3.9-java_3.9.9.Final-1_all.deb ...
Unpacking libnetty-3.9-java (3.9.9.Final-1) ...
Selecting previously unselected package libjsr166y-java.
Preparing to unpack .../38-libjsr166y-java_1.7.0-2_all.deb ...
Unpacking libjsr166y-java (1.7.0-2) ...
Selecting previously unselected package libjcsp-java.
Preparing to unpack .../39-libjcsp-java_1.1-rc4-2_all.deb ...
Unpacking libjcsp-java (1.1-rc4-2) ...
Selecting previously unselected package libmultiverse-core-java.
Preparing to unpack .../40-libmultiverse-core-java_0.7.0-4_all.deb ...
Unpacking libmultiverse-core-java (0.7.0-4) ...
Selecting previously unselected package libgpars-groovy-java.
Preparing to unpack .../41-libgpars-groovy-java_1.2.1-7_all.deb ...
Unpacking libgpars-groovy-java (1.2.1-7) ...
Selecting previously unselected package libjcommander-java.
Preparing to unpack .../42-libjcommander-java_1.48-1_all.deb ...
Unpacking libjcommander-java (1.48-1) ...
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack .../43-libapparmor1_2.11.0-3+deb9u2_amd64.deb ...
Unpacking libapparmor1:amd64 (2.11.0-3+deb9u2) ...
Selecting previously unselected package libseccomp2:amd64.
Preparing to unpack .../44-libseccomp2_2.3.1-2.1_amd64.deb ...
Unpacking libseccomp2:amd64 (2.3.1-2.1) ...
Selecting previously unselected package liblxc1.
Preparing to unpack .../45-liblxc1_1%3a2.0.7-2+deb9u2_amd64.deb ...
Unpacking liblxc1 (1:2.0.7-2+deb9u2) ...
Selecting previously unselected package libpam-cgfs.
Preparing to unpack .../46-libpam-cgfs_2.0.7-1_amd64.deb ...
Unpacking libpam-cgfs (2.0.7-1) ...
Selecting previously unselected package python3-lxc.
Preparing to unpack .../47-python3-lxc_1%3a2.0.7-2+deb9u2_amd64.deb ...
Unpacking python3-lxc (1:2.0.7-2+deb9u2) ...
Selecting previously unselected package lxc.
Preparing to unpack .../48-lxc_1%3a2.0.7-2+deb9u2_amd64.deb ...
Unpacking lxc (1:2.0.7-2+deb9u2) ...
Selecting previously unselected package lxcfs.
Preparing to unpack .../49-lxcfs_2.0.7-1_amd64.deb ...
Unpacking lxcfs (2.0.7-1) ...
Selecting previously unselected package rsync.
Preparing to unpack .../50-rsync_3.1.2-1+deb9u1_amd64.deb ...
Unpacking rsync (3.1.2-1+deb9u1) ...
Selecting previously unselected package testng.
Preparing to unpack .../51-testng_6.9.12-1_all.deb ...
Unpacking testng (6.9.12-1) ...
Selecting previously unselected package uidmap.
Preparing to unpack .../52-uidmap_1%3a4.4-4.1_amd64.deb ...
Unpacking uidmap (1:4.4-4.1) ...
Selecting previously unselected package debootstrap.
Preparing to unpack .../53-debootstrap_1.0.89_all.deb ...
Unpacking debootstrap (1.0.89) ...
Selecting previously unselected package dos2unix.
Preparing to unpack .../54-dos2unix_7.3.4-3_amd64.deb ...
Unpacking dos2unix (7.3.4-3) ...
Selecting previously unselected package libyaml-snake-java.
Preparing to unpack .../55-libyaml-snake-java_1.17-1_all.deb ...
Unpacking libyaml-snake-java (1.17-1) ...
Setting up libpopt0:amd64 (1.16-10+b2) ...
Setting up libantlr-java (2.7.7+dfsg-7) ...
Setting up libnetty-3.9-java (3.9.9.Final-1) ...
Setting up apt-transport-https (1.4.8) ...
Setting up libmultiverse-core-java (0.7.0-4) ...
Setting up libip4tc0:amd64 (1.6.0+snapshot20161117-6) ...
Setting up libhawtjni-runtime-java (1.14-1) ...
Setting up libyaml-snake-java (1.17-1) ...
Processing triggers for mime-support (3.60) ...
Setting up libqdox-java (1.12.1-2) ...
Setting up libjcsp-java (1.1-rc4-2) ...
Setting up libjsr166y-java (1.7.0-2) ...
Setting up antlr (2.7.7+dfsg-7) ...
Setting up libfuse2:amd64 (2.9.7-1+deb9u1) ...
Setting up dns-root-data (2017072601~deb9u1) ...
Setting up dos2unix (7.3.4-3) ...
Setting up cgroupfs-mount (1.3) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up uidmap (1:4.4-4.1) ...
Setting up bridge-utils (1.5-13+deb9u1) ...
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 rsync (3.1.2-1+deb9u1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up libpam-cgfs (2.0.7-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 libservlet3.1-java (8.5.14-1+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up libseccomp2:amd64 (2.3.1-2.1) ...
Setting up libxtables12:amd64 (1.6.0+snapshot20161117-6) ...
Setting up libapparmor1:amd64 (2.11.0-3+deb9u2) ...
Setting up ant (1.9.9-1+deb9u1) ...
Setting up libjcommander-java (1.48-1) ...
Setting up libjansi-native-java (1.6-1) ...
Setting up libapache-pom-java (10-2) ...
Setting up libasm-java (5.2-2) ...
Setting up lxcfs (2.0.7-1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libnfnetlink0:amd64 (1.0.1-3) ...
Setting up ivy (2.4.0-3) ...
Setting up debootstrap (1.0.89) ...
Setting up libbsh-java (2.0b4-18) ...
Setting up libxpp3-java (1.1.4c-2) ...
Setting up libhamcrest-java (1.3-6) ...
Setting up libmpdec2:amd64 (2.4.2-1) ...
Setting up libip6tc0:amd64 (1.6.0+snapshot20161117-6) ...
Setting up libcommons-cli-java (1.3.1-3) ...
Setting up liblxc1 (1:2.0.7-2+deb9u2) ...
Setting up libnetfilter-conntrack3:amd64 (1.0.6-2) ...
Setting up libjansi-java (1.14-1) ...
Setting up ant-optional (1.9.9-1+deb9u1) ...
Setting up libpython3.5-stdlib:amd64 (3.5.3-1+deb9u1) ...
Setting up testng (6.9.12-1) ...
Setting up libiptc0:amd64 (1.6.0+snapshot20161117-6) ...
Setting up libcommons-parent-java (39-3) ...
Setting up libjline2-java (2.11-4) ...
Setting up iptables (1.6.0+snapshot20161117-6) ...
Setting up libbsf-java (1:2.4.0-5) ...
Setting up junit4 (4.12-4) ...
Setting up dnsmasq-base (2.76-5+deb9u1) ...
Setting up libxstream-java (1.4.9-2) ...
Setting up python3.5 (3.5.3-1+deb9u1) ...
Setting up libpython3-stdlib:amd64 (3.5.3-1) ...
Setting up libcommons-logging-java (1.2-1) ...
Setting up groovy (2.4.8-1) ...
update-alternatives: using /usr/share/groovy/bin/groovy to provide /usr/bin/groovy (groovy) in auto mode
update-alternatives: using /usr/share/groovy/bin/groovyc to provide /usr/bin/groovyc (groovyc) in auto mode
update-alternatives: using /usr/share/groovy/bin/grape to provide /usr/bin/grape (grape) in auto mode
update-alternatives: using /usr/share/groovy/bin/startGroovy to provide /usr/bin/startGroovy (startGroovy) in auto mode
update-alternatives: using /usr/share/groovy/bin/groovysh to provide /usr/bin/groovysh (groovysh) in auto mode
update-alternatives: using /usr/share/groovy/bin/java2groovy to provide /usr/bin/java2groovy (java2groovy) in auto mode
update-alternatives: using /usr/share/groovy/bin/groovyConsole to provide /usr/bin/groovyConsole (groovyConsole) in auto mode
update-alternatives: using /usr/share/groovy/bin/groovydoc to provide /usr/bin/groovydoc (groovydoc) in auto mode
Setting up libgpars-groovy-java (1.2.1-7) ...
Setting up python3 (3.5.3-1) ...
running python rtupdate hooks for python3.5...
running python post-rtupdate hooks for python3.5...
Setting up python3-lxc (1:2.0.7-2+deb9u2) ...
Setting up dh-python (2.20170125) ...
Setting up lxc (1:2.0.7-2+deb9u2) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Removing intermediate container e2f2dbc49f9a
---> d38acb9cf3a8
Step 4/14 : RUN curl -o /usr/local/bin/gosu -fsSL "https://github.com/tianon/gosu/releases/download/1.7/gosu-$(dpkg --print-architecture)" && chmod +x /usr/local/bin/gosu
...
Step 13/14 : RUN touch /var/run/docker.sock
---> Running in aa541d5c303f
Removing intermediate container aa541d5c303f
---> 1e41a89dad1a
Step 14/14 : USER jenkins
---> Running in afc1e91c981e
Removing intermediate container afc1e91c981e
---> bee7fcfc159f
Successfully built bee7fcfc159f
Successfully tagged easy-jenkins_myjenkins:latest
nexus uses an image, skipping
gpmacario@dory:~/github/gmacario/easy-jenkins (master)$
The original error was most likely due to a temporary issue on the Debian update repository.
Closing issue
Just reproduced on host dory (Ubuntu 16.04.5 LTS 64-bit), https://github.com/gmacario/easy-jenkins/commit/245931e98560574ad7e80bd0d49a5b0da9747a2e