From 9083d0723c4a5832868ff58cc5dcf7b40a705c21 Mon Sep 17 00:00:00 2001 From: "egon w. stemle" <egon.stemle@eurac.edu> Date: Tue, 21 Jan 2020 11:20:11 +0100 Subject: [PATCH] Minor clean-ups --- dockerfiles/Dockerfile.dspace | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dockerfiles/Dockerfile.dspace b/dockerfiles/Dockerfile.dspace index cfb4057..45df5b0 100644 --- a/dockerfiles/Dockerfile.dspace +++ b/dockerfiles/Dockerfile.dspace @@ -16,16 +16,20 @@ LABEL maintainer="Alexander König <Alexander.Koenig@eurac.edu>" \ maintainer="Egon W. Stemle <egon.stemle@eurac.edu>" \ org.label-schema.vcs-url=$LABEL_VCS_URL +# +ENV DEBIAN_FRONTEND=noninteractive # Set "APT::Get::{Assume-Yes, Fix-Broken} to true" -RUN echo 'APT { GET { Assume-Yes "true"; }; };\nAPT { GET { Fix-Broken "true"; }; };' \ - >> /etc/apt/apt.conf +RUN echo 'APT { GET { Assume-Yes "true"; }; };' \ + >> /etc/apt/apt.conf && \ + echo 'APT { GET { Fix-Broken "true"; }; };' \ + >> /etc/apt/apt.conf # use fast(er) local mirrors # http://layer0.authentise.com/docker-4-useful-tips-you-may-not-know-about.html RUN echo "deb mirror://mirrors.ubuntu.com/mirrors.txt xenial main restricted universe multiverse" > /etc/apt/sources.list && \ echo "deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-updates main restricted universe multiverse" >> /etc/apt/sources.list && \ echo "deb mirror://mirrors.ubuntu.com/mirrors.txt xenial-security main restricted universe multiverse" >> /etc/apt/sources.list && \ - DEBIAN_FRONTEND=noninteractive apt-get update && \ + apt-get update && \ apt-get upgrade --show-progress # install cpanm and dependencies -- GitLab