Skip to content
Snippets Groups Projects
Commit 9083d072 authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files

Minor clean-ups

parent 04077182
No related branches found
No related tags found
No related merge requests found
...@@ -16,16 +16,20 @@ LABEL maintainer="Alexander König <Alexander.Koenig@eurac.edu>" \ ...@@ -16,16 +16,20 @@ LABEL maintainer="Alexander König <Alexander.Koenig@eurac.edu>" \
maintainer="Egon W. Stemle <egon.stemle@eurac.edu>" \ maintainer="Egon W. Stemle <egon.stemle@eurac.edu>" \
org.label-schema.vcs-url=$LABEL_VCS_URL org.label-schema.vcs-url=$LABEL_VCS_URL
#
ENV DEBIAN_FRONTEND=noninteractive
# Set "APT::Get::{Assume-Yes, Fix-Broken} to true" # Set "APT::Get::{Assume-Yes, Fix-Broken} to true"
RUN echo 'APT { GET { Assume-Yes "true"; }; };\nAPT { GET { Fix-Broken "true"; }; };' \ RUN echo 'APT { GET { Assume-Yes "true"; }; };' \
>> /etc/apt/apt.conf >> /etc/apt/apt.conf && \
echo 'APT { GET { Fix-Broken "true"; }; };' \
>> /etc/apt/apt.conf
# use fast(er) local mirrors # use fast(er) local mirrors
# http://layer0.authentise.com/docker-4-useful-tips-you-may-not-know-about.html # 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 && \ 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-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 && \ 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 apt-get upgrade --show-progress
# install cpanm and dependencies # install cpanm and dependencies
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment