From 10b8bdc894d6628a57c178d83c321e1ef3a2c5dd Mon Sep 17 00:00:00 2001 From: Michael Stucki Date: Sat, 8 Mar 2014 18:41:03 +0100 Subject: [PATCH] Fix sources.list (add universe) for Ubuntu images --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 82639c0..62bedb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,9 @@ FROM ubuntu:12.04 MAINTAINER Michael Stucki -# Newer images of ubuntu:12.04 already contain this entry, and if the line appears twice in the file, apt would throw a warning. -RUN grep -q "universe" /etc/apt/sources.list || echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list - ENV DEBIAN_FRONTEND noninteractive + +RUN sed -i 's/main$/main universe/' /etc/apt/sources.list RUN apt-get -qq update RUN apt-get install -y python-software-properties bsdmainutils curl file screen