Enable universe & use tty as default debconf FE
authorMichael Brown <michael@netdirect.ca>
Tue, 7 Jan 2014 04:40:43 +0000 (23:40 -0500)
committerMichael Brown <michael@netdirect.ca>
Tue, 7 Jan 2014 04:40:43 +0000 (23:40 -0500)
* enable universe repo for current distribution
* set debconf/frontend to 'Teletype'

image/base/Dockerfile

index 3c459dc08151ac12e59f18f84805654f130ece9e..0a7f5421e30b6296d5f2df8ad300b46933d47e63 100644 (file)
@@ -5,9 +5,11 @@ FROM ubuntu:12.10
 
 MAINTAINER Sam Saffron "https://twitter.com/samsaffron"
 
-RUN apt-get -y update &&\
+RUN echo "debconf debconf/frontend select Teletype" | debconf-set-selections &&\
+    apt-get -y update &&\
     apt-get -y upgrade &&\
     apt-get -y install software-properties-common &&\
+    apt-add-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" &&\
     add-apt-repository -y ppa:rwky/redis &&\
     add-apt-repository -y ppa:nginx/stable &&\
     add-apt-repository -y ppa:pitti/postgresql &&\