1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00

Fix sources.list (add universe) for Ubuntu images

This commit is contained in:
Michael Stucki 2014-03-08 18:41:03 +01:00
parent c19e8b793e
commit 10b8bdc894

View File

@ -5,10 +5,9 @@
FROM ubuntu:12.04
MAINTAINER Michael Stucki <mundaun@gmx.ch>
# 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