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

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