add sources.list, restructure dockerfile to avoid breaking apt with version from multiverse

pull/2/head
sparklyballs 2016-09-04 13:24:57 +01:00
rodzic b4933df88e
commit 5613300323
2 zmienionych plików z 28 dodań i 1 usunięć

Wyświetl plik

@ -21,11 +21,25 @@ RUN \
/config \
/defaults
# install packages
# install apt-utils
RUN \
apt-get update && \
apt-get install -y \
apt-utils && \
# cleanup
apt-get clean && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# copy sources
COPY sources.list /etc/apt/
# install packages
RUN \
apt-get update && \
apt-get install -y \
curl && \

13
sources.list 100644
Wyświetl plik

@ -0,0 +1,13 @@
####################################################################################
####### These repos should only be used for building docker containers #######
####### on premise by lsio and on lsio's servers, the may not preform well #######
####### from your home. #######
####################################################################################
deb http://mirrors.digitalocean.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.digitalocean.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse