Skip to content

Instantly share code, notes, and snippets.

@blt
Created September 19, 2013 17:33
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 blt/6626937 to your computer and use it in GitHub Desktop.
Save blt/6626937 to your computer and use it in GitHub Desktop.
FROM ubuntu
MAINTAINER Brian L. Troutwine "brian@troutwine.us"
RUN apt-get update
RUN apt-get install -y curl
RUN curl https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb --remote-name
RUN dpkg -i erlang-solutions_1.0_all.deb
RUN apt-get update
RUN apt-get install -y esl-erlang
$ sudo docker build .
Uploading context 10240 bytes
Step 1 : FROM ubuntu
---> 8dbd9e392a96
Step 2 : MAINTAINER Brian L. Troutwine "brian@troutwine.us"
---> Running in af275ca7b5b2
---> 8df02c38225d
Step 3 : RUN apt-get update
---> Running in fdfc1cdd8f79
Ign http://archive.ubuntu.com precise InRelease
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com precise/main amd64 Packages
Get:1 http://archive.ubuntu.com precise/main i386 Packages [1641 kB]
Get:2 http://archive.ubuntu.com precise/main TranslationIndex [3706 B]
Get:3 http://archive.ubuntu.com precise/main Translation-en [893 kB]
Fetched 2537 kB in 10s (253 kB/s)
Reading package lists...
---> d46454888f57
Step 4 : RUN apt-get install -y curl
---> Running in b677e39ba498
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
ca-certificates krb5-locales libasn1-8-heimdal libcurl3 libgcrypt11
libgnutls26 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal
libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal
libhx509-5-heimdal libidn11 libk5crypto3 libkeyutils1 libkrb5-26-heimdal
libkrb5-3 libkrb5support0 libldap-2.4-2 libp11-kit0 libroken18-heimdal
librtmp0 libsasl2-2 libsasl2-modules libsqlite3-0 libtasn1-3
libwind0-heimdal openssl
Suggested packages:
rng-tools gnutls-bin krb5-doc krb5-user libsasl2-modules-otp
libsasl2-modules-ldap libsasl2-modules-sql libsasl2-modules-gssapi-mit
libsasl2-modules-gssapi-heimdal
The following NEW packages will be installed:
ca-certificates curl krb5-locales libasn1-8-heimdal libcurl3 libgcrypt11
libgnutls26 libgpg-error0 libgssapi-krb5-2 libgssapi3-heimdal
libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal
libhx509-5-heimdal libidn11 libk5crypto3 libkeyutils1 libkrb5-26-heimdal
libkrb5-3 libkrb5support0 libldap-2.4-2 libp11-kit0 libroken18-heimdal
librtmp0 libsasl2-2 libsasl2-modules libsqlite3-0 libtasn1-3
libwind0-heimdal openssl
0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
Need to get 4290 kB of archives.
After this operation, 12.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main libsqlite3-0 amd64 3.7.9-2ubuntu1 [348 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main libroken18-heimdal amd64 1.6~git20120311.dfsg.1-2 [46.0 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main libasn1-8-heimdal amd64 1.6~git20120311.dfsg.1-2 [220 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise/main libgpg-error0 amd64 1.10-2ubuntu1 [14.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise/main libgcrypt11 amd64 1.5.0-3 [280 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise/main libp11-kit0 amd64 0.12-2ubuntu1 [34.3 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ precise/main libtasn1-3 amd64 2.10-1ubuntu1 [43.1 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise/main libgnutls26 amd64 2.12.14-5ubuntu3 [459 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise/main libkrb5support0 amd64 1.10+dfsg~beta1-2 [23.5 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise/main libk5crypto3 amd64 1.10+dfsg~beta1-2 [79.9 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise/main libkeyutils1 amd64 1.5.2-2 [7862 B]
Get:12 http://archive.ubuntu.com/ubuntu/ precise/main libkrb5-3 amd64 1.10+dfsg~beta1-2 [354 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ precise/main libgssapi-krb5-2 amd64 1.10+dfsg~beta1-2 [118 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ precise/main libhcrypto4-heimdal amd64 1.6~git20120311.dfsg.1-2 [103 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ precise/main libheimbase1-heimdal amd64 1.6~git20120311.dfsg.1-2 [33.0 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ precise/main libwind0-heimdal amd64 1.6~git20120311.dfsg.1-2 [77.8 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ precise/main libhx509-5-heimdal amd64 1.6~git20120311.dfsg.1-2 [125 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ precise/main libkrb5-26-heimdal amd64 1.6~git20120311.dfsg.1-2 [234 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ precise/main libheimntlm0-heimdal amd64 1.6~git20120311.dfsg.1-2 [16.0 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ precise/main libgssapi3-heimdal amd64 1.6~git20120311.dfsg.1-2 [108 kB]
Get:21 http://archive.ubuntu.com/ubuntu/ precise/main libidn11 amd64 1.23-2 [112 kB]
Get:22 http://archive.ubuntu.com/ubuntu/ precise/main libsasl2-2 amd64 2.1.25.dfsg1-3 [69.8 kB]
Get:23 http://archive.ubuntu.com/ubuntu/ precise/main libldap-2.4-2 amd64 2.4.28-1.1ubuntu4 [186 kB]
Get:24 http://archive.ubuntu.com/ubuntu/ precise/main librtmp0 amd64 2.4~20110711.gitc28f1bab-1 [57.1 kB]
Get:25 http://archive.ubuntu.com/ubuntu/ precise/main openssl amd64 1.0.1-4ubuntu3 [523 kB]
Get:26 http://archive.ubuntu.com/ubuntu/ precise/main ca-certificates all 20111211 [169 kB]
Get:27 http://archive.ubuntu.com/ubuntu/ precise/main libcurl3 amd64 7.22.0-3ubuntu4 [237 kB]
Get:28 http://archive.ubuntu.com/ubuntu/ precise/main krb5-locales all 1.10+dfsg~beta1-2 [8886 B]
Get:29 http://archive.ubuntu.com/ubuntu/ precise/main libsasl2-modules amd64 2.1.25.dfsg1-3 [63.4 kB]
Get:30 http://archive.ubuntu.com/ubuntu/ precise/main curl amd64 7.22.0-3ubuntu4 [138 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 4290 kB in 14s (295 kB/s)
Selecting previously unselected package libsqlite3-0.
(Reading database ... 7545 files and directories currently installed.)
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.7.9-2ubuntu1_amd64.deb) ...
Selecting previously unselected package libroken18-heimdal.
Unpacking libroken18-heimdal (from .../libroken18-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libasn1-8-heimdal.
Unpacking libasn1-8-heimdal (from .../libasn1-8-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libgpg-error0.
Unpacking libgpg-error0 (from .../libgpg-error0_1.10-2ubuntu1_amd64.deb) ...
Selecting previously unselected package libgcrypt11.
Unpacking libgcrypt11 (from .../libgcrypt11_1.5.0-3_amd64.deb) ...
Selecting previously unselected package libp11-kit0.
Unpacking libp11-kit0 (from .../libp11-kit0_0.12-2ubuntu1_amd64.deb) ...
Selecting previously unselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_2.10-1ubuntu1_amd64.deb) ...
Selecting previously unselected package libgnutls26.
Unpacking libgnutls26 (from .../libgnutls26_2.12.14-5ubuntu3_amd64.deb) ...
Selecting previously unselected package libkrb5support0.
Unpacking libkrb5support0 (from .../libkrb5support0_1.10+dfsg~beta1-2_amd64.deb) ...
Selecting previously unselected package libk5crypto3.
Unpacking libk5crypto3 (from .../libk5crypto3_1.10+dfsg~beta1-2_amd64.deb) ...
Selecting previously unselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ...
Selecting previously unselected package libkrb5-3.
Unpacking libkrb5-3 (from .../libkrb5-3_1.10+dfsg~beta1-2_amd64.deb) ...
Selecting previously unselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.10+dfsg~beta1-2_amd64.deb) ...
Selecting previously unselected package libhcrypto4-heimdal.
Unpacking libhcrypto4-heimdal (from .../libhcrypto4-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libheimbase1-heimdal.
Unpacking libheimbase1-heimdal (from .../libheimbase1-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libwind0-heimdal.
Unpacking libwind0-heimdal (from .../libwind0-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libhx509-5-heimdal.
Unpacking libhx509-5-heimdal (from .../libhx509-5-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libkrb5-26-heimdal.
Unpacking libkrb5-26-heimdal (from .../libkrb5-26-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libheimntlm0-heimdal.
Unpacking libheimntlm0-heimdal (from .../libheimntlm0-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libgssapi3-heimdal.
Unpacking libgssapi3-heimdal (from .../libgssapi3-heimdal_1.6~git20120311.dfsg.1-2_amd64.deb) ...
Selecting previously unselected package libidn11.
Unpacking libidn11 (from .../libidn11_1.23-2_amd64.deb) ...
Selecting previously unselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.25.dfsg1-3_amd64.deb) ...
Selecting previously unselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.28-1.1ubuntu4_amd64.deb) ...
Selecting previously unselected package librtmp0.
Unpacking librtmp0 (from .../librtmp0_2.4~20110711.gitc28f1bab-1_amd64.deb) ...
Selecting previously unselected package openssl.
Unpacking openssl (from .../openssl_1.0.1-4ubuntu3_amd64.deb) ...
Selecting previously unselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20111211_all.deb) ...
Selecting previously unselected package libcurl3.
Unpacking libcurl3 (from .../libcurl3_7.22.0-3ubuntu4_amd64.deb) ...
Selecting previously unselected package krb5-locales.
Unpacking krb5-locales (from .../krb5-locales_1.10+dfsg~beta1-2_all.deb) ...
Selecting previously unselected package libsasl2-modules.
Unpacking libsasl2-modules (from .../libsasl2-modules_2.1.25.dfsg1-3_amd64.deb) ...
Selecting previously unselected package curl.
Unpacking curl (from .../curl_7.22.0-3ubuntu4_amd64.deb) ...
Setting up libsqlite3-0 (3.7.9-2ubuntu1) ...
Setting up libroken18-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libasn1-8-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libgpg-error0 (1.10-2ubuntu1) ...
Setting up libgcrypt11 (1.5.0-3) ...
Setting up libp11-kit0 (0.12-2ubuntu1) ...
Setting up libtasn1-3 (2.10-1ubuntu1) ...
Setting up libgnutls26 (2.12.14-5ubuntu3) ...
Setting up libkrb5support0 (1.10+dfsg~beta1-2) ...
Setting up libk5crypto3 (1.10+dfsg~beta1-2) ...
Setting up libkeyutils1 (1.5.2-2) ...
Setting up libkrb5-3 (1.10+dfsg~beta1-2) ...
Setting up libgssapi-krb5-2 (1.10+dfsg~beta1-2) ...
Setting up libhcrypto4-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libheimbase1-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libwind0-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libhx509-5-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libkrb5-26-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libheimntlm0-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libgssapi3-heimdal (1.6~git20120311.dfsg.1-2) ...
Setting up libidn11 (1.23-2) ...
Setting up libsasl2-2 (2.1.25.dfsg1-3) ...
Setting up libldap-2.4-2 (2.4.28-1.1ubuntu4) ...
Setting up librtmp0 (2.4~20110711.gitc28f1bab-1) ...
Setting up openssl (1.0.1-4ubuntu3) ...
Setting up ca-certificates (20111211) ...
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: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs... 152 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Setting up libcurl3 (7.22.0-3ubuntu4) ...
Setting up krb5-locales (1.10+dfsg~beta1-2) ...
Setting up libsasl2-modules (2.1.25.dfsg1-3) ...
Setting up curl (7.22.0-3ubuntu4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
---> 95a951dbf55f
Step 5 : RUN curl https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb --remote-name
---> Running in 13185135c083
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4714 100 4714 0 0 2990 0 0:00:01 0:00:01 --:--:-- 6154
---> 0a3e246f531c
Step 6 : RUN dpkg -i erlang-solutions_1.0_all.deb
---> Running in 1c4648a25686
Selecting previously unselected package erlang-solutions.
(Reading database ... 8042 files and directories currently installed.)
Unpacking erlang-solutions (from erlang-solutions_1.0_all.deb) ...
Setting up erlang-solutions (1.0) ...
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: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
deb http://archive.ubuntu.com/ubuntu precise main
---> dd0574608555
Step 7 : RUN apt-get update
---> Running in 10ea57d29809
Ign http://archive.ubuntu.com precise InRelease
Hit http://archive.ubuntu.com precise Release.gpg
Ign http://packages.erlang-solutions.com precise InRelease
Hit http://archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com precise/main amd64 Packages
Get:1 http://packages.erlang-solutions.com precise Release.gpg [836 B]
Get:2 http://archive.ubuntu.com precise/main i386 Packages [1641 kB]
Get:3 http://packages.erlang-solutions.com precise Release [3576 B]
Get:4 http://packages.erlang-solutions.com precise/contrib amd64 Packages [14.4 kB]
Get:5 http://packages.erlang-solutions.com precise/contrib i386 Packages [14.5 kB]
Ign http://packages.erlang-solutions.com precise/contrib TranslationIndex
Ign http://packages.erlang-solutions.com precise/contrib Translation-en
Get:6 http://archive.ubuntu.com precise/main TranslationIndex [3706 B]
Get:7 http://archive.ubuntu.com precise/main Translation-en [893 kB]
Fetched 2571 kB in 9s (280 kB/s)
Reading package lists...
---> ff83d84db13f
Step 8 : RUN apt-get install -y esl-erlang
---> Running in 95e64d3a0fb7
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
esl-erlang : Depends: libssl0.9.8 but it is not installable
Depends: libwxbase2.8-0 but it is not installable
Depends: libwxgtk2.8-0 but it is not installable
Recommends: erlang-mode but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Error build: The command [/bin/sh -c apt-get install -y esl-erlang] returned a non-zero code: 100
The command [/bin/sh -c apt-get install -y esl-erlang] returned a non-zero code: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment