Make Debian repo urls configurable
Change-Id: I10d95637b56e9f70329570504500bed893016585 Depends-On: Ib43889dcec99c515b9932de381cf3ef25fbc7ff9
This commit is contained in:
parent
9654b194e5
commit
fa3bf043eb
|
@ -4,7 +4,7 @@ MAINTAINER {{ maintainer }}
|
|||
# This will prevent questions from being asked during the install
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
COPY sources.list.debian /etc/apt/sources.list
|
||||
COPY {{ render('sources.list.debian.j2') }} /etc/apt/sources.list
|
||||
COPY apt_conf_retries /etc/apt/apt.conf.d/99retries
|
||||
|
||||
RUN apt-get update \
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
# Default repos
|
||||
deb http://httpredir.debian.org/debian jessie main
|
||||
|
||||
# jessie-backports
|
||||
deb http://httpredir.debian.org/debian jessie-backports main contrib
|
||||
|
||||
# jessie-updates, previously known as 'volatile'
|
||||
deb http://httpredir.debian.org/debian jessie-updates main
|
||||
|
||||
# debian security updates
|
||||
deb http://security.debian.org jessie/updates main
|
|
@ -0,0 +1,11 @@
|
|||
# Default repos
|
||||
deb {{ url.debian }} jessie main
|
||||
|
||||
# jessie-backports
|
||||
deb {{ url.debian }} jessie-backports main contrib
|
||||
|
||||
# jessie-updates, previously known as 'volatile'
|
||||
deb {{ url.debian }} jessie-updates main
|
||||
|
||||
# debian security updates
|
||||
deb {{ url.debian_security }} jessie/updates main
|
|
@ -0,0 +1,3 @@
|
|||
url:
|
||||
debian: http://httpredir.debian.org/debian
|
||||
debian_security: http://security.debian.org
|
Loading…
Reference in New Issue