# HG changeset patch # User Thomas Junk # Date 1535449813 -7200 # Node ID 076996a41c31bf7a7e9c1475c2b8e5d689ff344c # Parent 4a637b333417f703efe4a4d1da25ecb44edc4743 fix: Dockerfile.geoserv - adding "universe" to sources.list Adding universe to every line of sources.list leads with vanilla images to problems. https://wiki.ubuntuusers.de/sources.list/#Bionic There are empty lines, which would contain "universe". Adding "universe" at the end of lines containing "deb" at the beginning does the trick. The solution is valued as "good enough" for now. diff -r 4a637b333417 -r 076996a41c31 docker/Dockerfile.geoserv --- a/docker/Dockerfile.geoserv Tue Aug 28 08:07:08 2018 +0200 +++ b/docker/Dockerfile.geoserv Tue Aug 28 11:50:13 2018 +0200 @@ -1,11 +1,11 @@ FROM ubuntu:bionic LABEL authors="tom@intevation.de" -RUN sed -i 's/$/ universe/' /etc/apt/sources.list +RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list RUN apt-get update &&\ apt-get -y install --no-install-recommends \ - curl unzip openjdk-8-jre-headless tomcat8 + curl unzip openjdk-8-jre-headless tomcat8 ENV CATALINA_HOME /usr/share/tomcat8 ENV CATALINA_BASE /var/lib/tomcat8