Browse code

Tidy up some of the error messages from apt during build

Danny Yates authored on 2013/12/17 22:50:37
Showing 1 changed files
... ...
@@ -27,9 +27,13 @@ docker-version	0.6.1
27 27
 FROM	ubuntu:12.04
28 28
 MAINTAINER	Solomon Hykes <solomon@dotcloud.com>
29 29
 
30
+# Prevent apt-get install from trying to prompt for stuff
31
+ENV	DEBIAN_FRONTEND noninteractive
32
+
30 33
 # Build dependencies
31 34
 RUN	echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt/sources.list
32 35
 RUN	apt-get update
36
+RUN	apt-get install -y -q apt-utils
33 37
 RUN	apt-get install -y -q curl
34 38
 RUN	apt-get install -y -q git
35 39
 RUN	apt-get install -y -q mercurial