add sources.list, restructure dockerfile to avoid breaking apt with version from multiverse
rodzic
b4933df88e
commit
5613300323
16
Dockerfile
16
Dockerfile
|
@ -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 && \
|
||||
|
||||
|
|
|
@ -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
|
Ładowanie…
Reference in New Issue