Tidy up some of the error messages from apt during build

This commit is contained in:
Danny Yates 2013-12-17 13:50:37 +00:00
parent 124da338fd
commit 36e060299f
1 changed files with 4 additions and 0 deletions

View File

@ -27,9 +27,13 @@ docker-version 0.6.1
FROM ubuntu:12.04
MAINTAINER Solomon Hykes <solomon@dotcloud.com>
# Prevent apt-get install from trying to prompt for stuff
ENV DEBIAN_FRONTEND noninteractive
# Build dependencies
RUN echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y -q apt-utils
RUN apt-get install -y -q curl
RUN apt-get install -y -q git
RUN apt-get install -y -q mercurial