mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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:
commit
c3ec696284
1 changed files with 4 additions and 0 deletions
|
@ -27,9 +27,13 @@ docker-version 0.6.1
|
||||||
FROM ubuntu:12.04
|
FROM ubuntu:12.04
|
||||||
MAINTAINER Solomon Hykes <solomon@dotcloud.com>
|
MAINTAINER Solomon Hykes <solomon@dotcloud.com>
|
||||||
|
|
||||||
|
# Prevent apt-get install from trying to prompt for stuff
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
# Build dependencies
|
# Build dependencies
|
||||||
RUN echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt/sources.list
|
RUN echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt/sources.list
|
||||||
RUN apt-get update
|
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 curl
|
||||||
RUN apt-get install -y -q git
|
RUN apt-get install -y -q git
|
||||||
RUN apt-get install -y -q mercurial
|
RUN apt-get install -y -q mercurial
|
||||||
|
|
Loading…
Add table
Reference in a new issue