Skip to content

Instantly share code, notes, and snippets.

@tleyden
Created April 2, 2019 22:17
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 tleyden/7de181727c5ab843c87654c8054c6843 to your computer and use it in GitHub Desktop.
Save tleyden/7de181727c5ab843c87654c8054c6843 to your computer and use it in GitHub Desktop.
Building in Docker Cloud's infrastructure...
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
Reset branch 'master'
Your branch is up-to-date with 'origin/master'.
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
BuildTime: 2018-08-30T18:42:30.000000000+00:00
ApiVersion: 1.37
Platform: {u'Name': u''}
Version: 18.03.1-ee-3
MinAPIVersion: 1.12
GitCommit: b9a5c95
Os: linux
GoVersion: go1.10.2
Starting build of index.docker.io/tleyden5iwx/open-ocr-preprocessor:latest...
Step 1/12 : FROM tleyden5iwx/stroke-width-transform
---> 27bc8583fe6f
Step 2/12 : RUN apt-get -q -y update
---> Running in 147e9fddda0c
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Get:3 http://archive.ubuntu.com trusty-updates/main Sources [429 kB]
Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [6313 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [230 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1159 kB]
Get:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.2 kB]
Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [519 kB]
Get:9 http://archive.ubuntu.com trusty-security/main Sources [171 kB]
Get:10 http://archive.ubuntu.com trusty-security/restricted Sources [4931 B]
Get:11 http://archive.ubuntu.com trusty-security/universe Sources [102 kB]
Get:12 http://archive.ubuntu.com trusty-security/main amd64 Packages [824 kB]
Get:13 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14.2 kB]
Get:14 http://archive.ubuntu.com trusty-security/universe amd64 Packages [289 kB]
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Fetched 3897 kB in 28s (135 kB/s)
Reading package lists...
Removing intermediate container 147e9fddda0c
---> f51e21efee3d
Step 3/12 : ENV GOPATH /opt/go
---> Running in b18838cf0a8c
Removing intermediate container b18838cf0a8c
---> 76afde232fd4
Step 4/12 : RUN mkdir -p $GOPATH
---> Running in 62efc01b87aa
Removing intermediate container 62efc01b87aa
---> 45fd60f36f00
Step 5/12 : RUN apt-get -q -y install git
---> Running in 024926acec6a
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-bzr git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 upgraded, 0 newly installed, 0 to remove and 295 not upgraded.
Need to get 2737 kB of archives.
After this operation, 401 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main git amd64 1:1.9.1-1ubuntu0.10 [2737 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 2737 kB in 0s (3164 kB/s)
(Reading database ... 38942 files and directories currently installed.)
Preparing to unpack .../git_1%3a1.9.1-1ubuntu0.10_amd64.deb ...
Unpacking git (1:1.9.1-1ubuntu0.10) over (1:1.9.1-1) ...
Setting up git (1:1.9.1-1ubuntu0.10) ...
Removing intermediate container 024926acec6a
---> 1a765e1fff9d
Step 6/12 : RUN apt-get -q -y install golang
---> Running in fbe5234caf63
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
golang-doc golang-go golang-go-linux-amd64 golang-src
Suggested packages:
golang-go.tools
The following NEW packages will be installed:
golang golang-doc golang-go golang-go-linux-amd64 golang-src
0 upgraded, 5 newly installed, 0 to remove and 295 not upgraded.
Need to get 27.3 MB of archives.
After this operation, 175 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe golang-src amd64 2:1.2.1-2ubuntu1 [4727 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe golang-go-linux-amd64 amd64 2:1.2.1-2ubuntu1 [12.5 MB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/universe golang-go amd64 2:1.2.1-2ubuntu1 [8104 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/universe golang-doc all 2:1.2.1-2ubuntu1 [1932 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/universe golang all 2:1.2.1-2ubuntu1 [16.8 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 27.3 MB in 3s (7357 kB/s)
Selecting previously unselected package golang-src.
(Reading database ... 38944 files and directories currently installed.)
Preparing to unpack .../golang-src_2%3a1.2.1-2ubuntu1_amd64.deb ...
Unpacking golang-src (2:1.2.1-2ubuntu1) ...
Selecting previously unselected package golang-go-linux-amd64.
Preparing to unpack .../golang-go-linux-amd64_2%3a1.2.1-2ubuntu1_amd64.deb ...
Unpacking golang-go-linux-amd64 (2:1.2.1-2ubuntu1) ...
Selecting previously unselected package golang-go.
Preparing to unpack .../golang-go_2%3a1.2.1-2ubuntu1_amd64.deb ...
Unpacking golang-go (2:1.2.1-2ubuntu1) ...
Selecting previously unselected package golang-doc.
Preparing to unpack .../golang-doc_2%3a1.2.1-2ubuntu1_all.deb ...
Unpacking golang-doc (2:1.2.1-2ubuntu1) ...
Selecting previously unselected package golang.
Preparing to unpack .../golang_2%3a1.2.1-2ubuntu1_all.deb ...
Unpacking golang (2:1.2.1-2ubuntu1) ...
Processing triggers for man-db (2.6.7.1-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
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Setting up golang-src (2:1.2.1-2ubuntu1) ...
Setting up golang-go-linux-amd64 (2:1.2.1-2ubuntu1) ...
Setting up golang-go (2:1.2.1-2ubuntu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
update-alternatives: using /usr/bin/golang-go to provide /usr/bin/go (go) in auto mode
Setting up golang-doc (2:1.2.1-2ubuntu1) ...
Setting up golang (2:1.2.1-2ubuntu1) ...
Removing intermediate container fbe5234caf63
---> 7e909c2b2149
Step 7/12 : RUN apt-get -q -y install gcc
---> Running in 39ac4c957e8d
Reading package lists...
Building dependency tree...
Reading state information...
gcc is already the newest version.
gcc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 295 not upgraded.
Removing intermediate container 39ac4c957e8d
---> 4ecb708500e4
Step 8/12 : RUN apt-get -q -y install libleptonica-dev
---> Running in dacfd8305db0
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libgif4 liblept4 libwebp5
The following NEW packages will be installed:
libgif4 liblept4 libleptonica-dev libwebp5
0 upgraded, 4 newly installed, 0 to remove and 295 not upgraded.
Need to get 2001 kB of archives.
After this operation, 7530 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libgif4 amd64 4.1.6-11 [28.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libwebp5 amd64 0.4.0-4 [146 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/universe liblept4 amd64 1.70.1-1 [748 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/universe libleptonica-dev amd64 1.70.1-1 [1079 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 2001 kB in 1s (1401 kB/s)
Selecting previously unselected package libgif4:amd64.
(Reading database ... 43431 files and directories currently installed.)
Preparing to unpack .../libgif4_4.1.6-11_amd64.deb ...
Unpacking libgif4:amd64 (4.1.6-11) ...
Selecting previously unselected package libwebp5:amd64.
Preparing to unpack .../libwebp5_0.4.0-4_amd64.deb ...
Unpacking libwebp5:amd64 (0.4.0-4) ...
Selecting previously unselected package liblept4.
Preparing to unpack .../liblept4_1.70.1-1_amd64.deb ...
Unpacking liblept4 (1.70.1-1) ...
Selecting previously unselected package libleptonica-dev.
Preparing to unpack .../libleptonica-dev_1.70.1-1_amd64.deb ...
Unpacking libleptonica-dev (1.70.1-1) ...
Setting up libgif4:amd64 (4.1.6-11) ...
Setting up libwebp5:amd64 (0.4.0-4) ...
Setting up liblept4 (1.70.1-1) ...
Setting up libleptonica-dev (1.70.1-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Removing intermediate container dacfd8305db0
---> 7454f413d52c
Step 9/12 : RUN apt-get -q -y install libtesseract3 libtesseract-dev
---> Running in 5714f6cd0db3
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
libtesseract-dev libtesseract3
0 upgraded, 2 newly installed, 0 to remove and 295 not upgraded.
Need to get 2335 kB of archives.
After this operation, 10.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe libtesseract3 amd64 3.03.02-3 [1050 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/universe libtesseract-dev amd64 3.03.02-3 [1284 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 2335 kB in 0s (2682 kB/s)
Selecting previously unselected package libtesseract3.
(Reading database ... 43489 files and directories currently installed.)
Preparing to unpack .../libtesseract3_3.03.02-3_amd64.deb ...
Unpacking libtesseract3 (3.03.02-3) ...
Selecting previously unselected package libtesseract-dev.
Preparing to unpack .../libtesseract-dev_3.03.02-3_amd64.deb ...
Unpacking libtesseract-dev (3.03.02-3) ...
Setting up libtesseract3 (3.03.02-3) ...
Setting up libtesseract-dev (3.03.02-3) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Removing intermediate container 5714f6cd0db3
---> b40e87e82cb2
Step 10/12 : RUN apt-get install -q -y tesseract-ocr-eng
---> Running in f60054780719
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
tesseract-ocr-eng
0 upgraded, 1 newly installed, 0 to remove and 295 not upgraded.
Need to get 22.0 MB of archives.
After this operation, 60.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe tesseract-ocr-eng all 3.02-2 [22.0 MB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 22.0 MB in 2s (8778 kB/s)
Selecting previously unselected package tesseract-ocr-eng.
(Reading database ... 43555 files and directories currently installed.)
Preparing to unpack .../tesseract-ocr-eng_3.02-2_all.deb ...
Unpacking tesseract-ocr-eng (3.02-2) ...
Setting up tesseract-ocr-eng (3.02-2) ...
Removing intermediate container f60054780719
---> 517002661d6c
Step 11/12 : RUN go get -u -v github.com/tleyden/open-ocr
---> Running in ce2ade664926
github.com/tleyden/open-ocr (download)
github.com/couchbaselabs/logg (download)
github.com/nu7hatch/gouuid (download)
github.com/streadway/amqp (download)
github.com/couchbaselabs/logg
github.com/nu7hatch/gouuid
github.com/streadway/amqp
# github.com/streadway/amqp
opt/go/src/github.com/streadway/amqp/uri.go:75: u.Hostname undefined (type *url.URL has no field or method Hostname)
opt/go/src/github.com/streadway/amqp/uri.go:76: u.Port undefined (type *url.URL has no field or method Port)
opt/go/src/github.com/streadway/amqp/uri.go:170: authority.RawPath undefined (type *url.URL has no field or method RawPath)
Removing intermediate container ce2ade664926
The command '/bin/sh -c go get -u -v github.com/tleyden/open-ocr' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment