Merge pull request #3244 from codeaholics/remove-apt-errors-during-build

Tidy up some of the error messages from apt during build
This commit is contained in:
Tianon Gravi 2013-12-19 13:28:56 -08:00
commit c3ec696284
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