Why I did it Unify the Debian mirror sources Make easy to upgrade to the next Debian release, not source url code change required. Support to customize the Debian mirror sources during the build Relative issue: #12523 How I did it How to verify it
This commit is contained in:
parent
d162a5679d
commit
8395de69d3
3
.gitignore
vendored
3
.gitignore
vendored
@ -96,3 +96,6 @@ htmlcov/
|
|||||||
.vscode/
|
.vscode/
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
|
# Debian mirror Sources
|
||||||
|
sources.list.*
|
||||||
|
!sources.list*.j2
|
||||||
|
@ -387,6 +387,8 @@ SONIC_BUILD_INSTRUCTION := make \
|
|||||||
ENABLE_FIPS_FEATURE=$(ENABLE_FIPS_FEATURE) \
|
ENABLE_FIPS_FEATURE=$(ENABLE_FIPS_FEATURE) \
|
||||||
ENABLE_FIPS=$(ENABLE_FIPS) \
|
ENABLE_FIPS=$(ENABLE_FIPS) \
|
||||||
SONIC_SLAVE_DOCKER_DRIVER=$(SONIC_SLAVE_DOCKER_DRIVER) \
|
SONIC_SLAVE_DOCKER_DRIVER=$(SONIC_SLAVE_DOCKER_DRIVER) \
|
||||||
|
MIRROR_URLS=$(MIRROR_URLS) \
|
||||||
|
MIRROR_SECURITY_URLS=$(MIRROR_SECURITY_URLS) \
|
||||||
$(SONIC_OVERRIDE_BUILD_VARS)
|
$(SONIC_OVERRIDE_BUILD_VARS)
|
||||||
|
|
||||||
.PHONY: sonic-slave-build sonic-slave-bash init reset
|
.PHONY: sonic-slave-build sonic-slave-bash init reset
|
||||||
@ -396,6 +398,10 @@ SONIC_BUILD_INSTRUCTION := make \
|
|||||||
%::
|
%::
|
||||||
ifeq ($(MULTIARCH_QEMU_ENVIRON), y)
|
ifeq ($(MULTIARCH_QEMU_ENVIRON), y)
|
||||||
@$(DOCKER_MULTIARCH_CHECK)
|
@$(DOCKER_MULTIARCH_CHECK)
|
||||||
|
|
||||||
|
export MIRROR_URLS
|
||||||
|
export MIRROR_SECURITY_URLS
|
||||||
|
|
||||||
ifneq ($(BLDENV), )
|
ifneq ($(BLDENV), )
|
||||||
@$(DOCKER_SERVICE_MULTIARCH_CHECK)
|
@$(DOCKER_SERVICE_MULTIARCH_CHECK)
|
||||||
@$(DOCKER_SERVICE_DOCKERFS_CHECK)
|
@$(DOCKER_SERVICE_DOCKERFS_CHECK)
|
||||||
@ -405,6 +411,7 @@ endif
|
|||||||
|
|
||||||
@pushd src/sonic-build-hooks; TRUSTED_GPG_URLS=$(TRUSTED_GPG_URLS) make all; popd
|
@pushd src/sonic-build-hooks; TRUSTED_GPG_URLS=$(TRUSTED_GPG_URLS) make all; popd
|
||||||
@cp src/sonic-build-hooks/buildinfo/sonic-build-hooks* $(SLAVE_DIR)/buildinfo
|
@cp src/sonic-build-hooks/buildinfo/sonic-build-hooks* $(SLAVE_DIR)/buildinfo
|
||||||
|
@scripts/build_mirror_config.sh $(SLAVE_DIR) $(CONFIGURED_ARCH) $(BLDENV)
|
||||||
@docker inspect --type image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) &> /dev/null || \
|
@docker inspect --type image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) &> /dev/null || \
|
||||||
{ [ $(ENABLE_DOCKER_BASE_PULL) == y ] && { echo Image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) not found. Pulling...; } && \
|
{ [ $(ENABLE_DOCKER_BASE_PULL) == y ] && { echo Image $(SLAVE_BASE_IMAGE):$(SLAVE_BASE_TAG) not found. Pulling...; } && \
|
||||||
$(DOCKER_BASE_PULL) && \
|
$(DOCKER_BASE_PULL) && \
|
||||||
@ -432,6 +439,7 @@ docker-cleanup:
|
|||||||
sonic-build-hooks:
|
sonic-build-hooks:
|
||||||
@pushd src/sonic-build-hooks; TRUSTED_GPG_URLS=$(TRUSTED_GPG_URLS) make all; popd
|
@pushd src/sonic-build-hooks; TRUSTED_GPG_URLS=$(TRUSTED_GPG_URLS) make all; popd
|
||||||
@cp src/sonic-build-hooks/buildinfo/sonic-build-hooks* $(SLAVE_DIR)/buildinfo
|
@cp src/sonic-build-hooks/buildinfo/sonic-build-hooks* $(SLAVE_DIR)/buildinfo
|
||||||
|
@scripts/build_mirror_config.sh $(SLAVE_DIR) $(CONFIGURED_ARCH) $(BLDENV)
|
||||||
|
|
||||||
sonic-slave-base-build : sonic-build-hooks
|
sonic-slave-base-build : sonic-build-hooks
|
||||||
ifeq ($(MULTIARCH_QEMU_ENVIRON), y)
|
ifeq ($(MULTIARCH_QEMU_ENVIRON), y)
|
||||||
|
@ -108,6 +108,7 @@ sudo LANG=C chroot $FILESYSTEM_ROOT mount
|
|||||||
[ -d $TRUSTED_GPG_DIR ] && [ ! -z "$(ls $TRUSTED_GPG_DIR)" ] && sudo cp $TRUSTED_GPG_DIR/* ${FILESYSTEM_ROOT}/etc/apt/trusted.gpg.d/
|
[ -d $TRUSTED_GPG_DIR ] && [ ! -z "$(ls $TRUSTED_GPG_DIR)" ] && sudo cp $TRUSTED_GPG_DIR/* ${FILESYSTEM_ROOT}/etc/apt/trusted.gpg.d/
|
||||||
|
|
||||||
## Pointing apt to public apt mirrors and getting latest packages, needed for latest security updates
|
## Pointing apt to public apt mirrors and getting latest packages, needed for latest security updates
|
||||||
|
scripts/build_mirror_config.sh files/apt $CONFIGURED_ARCH $IMAGE_DISTRO
|
||||||
sudo cp files/apt/sources.list.$CONFIGURED_ARCH $FILESYSTEM_ROOT/etc/apt/sources.list
|
sudo cp files/apt/sources.list.$CONFIGURED_ARCH $FILESYSTEM_ROOT/etc/apt/sources.list
|
||||||
sudo cp files/apt/apt.conf.d/{81norecommends,apt-{clean,gzip-indexes,no-languages},no-check-valid-until} $FILESYSTEM_ROOT/etc/apt/apt.conf.d/
|
sudo cp files/apt/apt.conf.d/{81norecommends,apt-{clean,gzip-indexes,no-languages},no-check-valid-until} $FILESYSTEM_ROOT/etc/apt/apt.conf.d/
|
||||||
|
|
||||||
|
@ -27,13 +27,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
|
|
||||||
# Configure data sources for apt/dpkg
|
# Configure data sources for apt/dpkg
|
||||||
COPY ["dpkg_01_drop", "/etc/dpkg/dpkg.cfg.d/01_drop"]
|
COPY ["dpkg_01_drop", "/etc/dpkg/dpkg.cfg.d/01_drop"]
|
||||||
{% if CONFIGURED_ARCH == "armhf" %}
|
COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
|
||||||
COPY ["sources.list.armhf", "/etc/apt/sources.list"]
|
|
||||||
{% elif CONFIGURED_ARCH == "arm64" %}
|
|
||||||
COPY ["sources.list.arm64", "/etc/apt/sources.list"]
|
|
||||||
{% else %}
|
|
||||||
COPY ["sources.list", "/etc/apt/sources.list"]
|
|
||||||
{% endif %}
|
|
||||||
COPY ["no_install_recommend_suggest", "/etc/apt/apt.conf.d"]
|
COPY ["no_install_recommend_suggest", "/etc/apt/apt.conf.d"]
|
||||||
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
|
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
|
||||||
|
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
## Debian mirror on Microsoft Azure
|
|
||||||
## Ref: http://debian-archive.trafficmanager.net/
|
|
||||||
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian bullseye-updates main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ bullseye-backports main contrib non-free
|
|
||||||
|
|
||||||
# Debian mirror supports multiple versions for a package
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian bullseye-backports main contrib non-free
|
|
@ -1,9 +0,0 @@
|
|||||||
## Debian mirror for ARM repo
|
|
||||||
|
|
||||||
# ARM repo
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian bullseye main contrib non-free
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian bullseye-updates main contrib non-free
|
|
||||||
deb [arch=arm64] http://security.debian.org bullseye-security main contrib non-free
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian bullseye-backports main
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free
|
|
@ -1,9 +0,0 @@
|
|||||||
## Debian mirror for ARM repo
|
|
||||||
|
|
||||||
# ARM repo
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian bullseye-updates main contrib non-free
|
|
||||||
deb [arch=armhf] http://security.debian.org bullseye-security main contrib non-free
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian bullseye-backports main
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free
|
|
@ -27,13 +27,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
|
|
||||||
# Configure data sources for apt/dpkg
|
# Configure data sources for apt/dpkg
|
||||||
COPY ["dpkg_01_drop", "/etc/dpkg/dpkg.cfg.d/01_drop"]
|
COPY ["dpkg_01_drop", "/etc/dpkg/dpkg.cfg.d/01_drop"]
|
||||||
{% if CONFIGURED_ARCH == "armhf" %}
|
COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
|
||||||
COPY ["sources.list.armhf", "/etc/apt/sources.list"]
|
|
||||||
{% elif CONFIGURED_ARCH == "arm64" %}
|
|
||||||
COPY ["sources.list.arm64", "/etc/apt/sources.list"]
|
|
||||||
{% else %}
|
|
||||||
COPY ["sources.list", "/etc/apt/sources.list"]
|
|
||||||
{% endif %}
|
|
||||||
COPY ["no_install_recommend_suggest", "/etc/apt/apt.conf.d"]
|
COPY ["no_install_recommend_suggest", "/etc/apt/apt.conf.d"]
|
||||||
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
|
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
|
||||||
|
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
## Debian mirror on Microsoft Azure
|
|
||||||
## Ref: http://debian-archive.trafficmanager.net/
|
|
||||||
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ buster main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ buster main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ buster/updates main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ buster/updates main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian buster-updates main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ buster-backports main contrib non-free
|
|
||||||
|
|
||||||
# Debian mirror supports multiple versions for a package
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian buster main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian buster-backports main contrib non-free
|
|
@ -1,12 +0,0 @@
|
|||||||
## Debian mirror for ARM repo
|
|
||||||
|
|
||||||
# ARM repo
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian buster main contrib non-free
|
|
||||||
deb-src [arch=arm64] http://deb.debian.org/debian buster main contrib non-free
|
|
||||||
deb [arch=arm64] http://security.debian.org buster/updates main contrib non-free
|
|
||||||
deb-src [arch=arm64] http://security.debian.org buster/updates main contrib non-free
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian buster-updates main contrib non-free
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian/ buster-backports main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian buster main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian buster-backports main contrib non-free
|
|
@ -1,12 +0,0 @@
|
|||||||
## Debian mirror for ARM repo
|
|
||||||
|
|
||||||
# ARM repo
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian buster main contrib non-free
|
|
||||||
deb-src [arch=armhf] http://deb.debian.org/debian buster main contrib non-free
|
|
||||||
deb [arch=armhf] http://security.debian.org buster/updates main contrib non-free
|
|
||||||
deb-src [arch=armhf] http://security.debian.org buster/updates main contrib non-free
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian buster-updates main contrib non-free
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian/ buster-backports main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian buster main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian buster-backports main contrib non-free
|
|
@ -27,13 +27,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
|
|
||||||
# Configure data sources for apt/dpkg
|
# Configure data sources for apt/dpkg
|
||||||
COPY ["dpkg_01_drop", "/etc/dpkg/dpkg.cfg.d/01_drop"]
|
COPY ["dpkg_01_drop", "/etc/dpkg/dpkg.cfg.d/01_drop"]
|
||||||
{% if CONFIGURED_ARCH == "armhf" %}
|
COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
|
||||||
COPY ["sources.list.armhf", "/etc/apt/sources.list"]
|
|
||||||
{% elif CONFIGURED_ARCH == "arm64" %}
|
|
||||||
COPY ["sources.list.arm64", "/etc/apt/sources.list"]
|
|
||||||
{% else %}
|
|
||||||
COPY ["sources.list", "/etc/apt/sources.list"]
|
|
||||||
{% endif %}
|
|
||||||
COPY ["no_install_recommend_suggest", "/etc/apt/apt.conf.d"]
|
COPY ["no_install_recommend_suggest", "/etc/apt/apt.conf.d"]
|
||||||
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
|
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d"]
|
||||||
|
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
## Debian mirror on Microsoft Azure
|
|
||||||
## Ref: http://debian-archive.trafficmanager.net/
|
|
||||||
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch-backports main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian stretch main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian stretch-updates main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian stretch-backports main contrib non-free
|
|
@ -1,11 +0,0 @@
|
|||||||
## Debian mirror for ARM repo
|
|
||||||
|
|
||||||
# ARM repo
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
|
|
||||||
deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free
|
|
||||||
deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
|
||||||
deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free
|
|
||||||
deb [arch=arm64] http://deb.debian.org/debian/ stretch-backports main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian stretch main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian stretch-updates main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian stretch-backports main contrib non-free
|
|
@ -1,11 +0,0 @@
|
|||||||
## Debian mirror for ARM repo
|
|
||||||
|
|
||||||
# ARM repo
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
|
|
||||||
deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free
|
|
||||||
deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
|
||||||
deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian/ stretch-backports main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian stretch main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian stretch-updates main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian stretch-backports main contrib non-free
|
|
@ -1,13 +0,0 @@
|
|||||||
## Debian mirror on Microsoft Azure
|
|
||||||
## Ref: http://debian-archive.trafficmanager.net/
|
|
||||||
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ bullseye-backports main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb-src [arch=amd64] http://packages.trafficmanager.net/debian/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb [arch=amd64] http://packages.trafficmanager.net/debian/debian bullseye-backports main contrib non-free
|
|
@ -1,13 +0,0 @@
|
|||||||
## Debian mirror for ARM
|
|
||||||
## Not the repo mirror site can change in future, and needs to be updated to be in sync
|
|
||||||
|
|
||||||
deb [arch=arm64] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free
|
|
||||||
deb-src [arch=arm64] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free
|
|
||||||
deb [arch=arm64] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb-src [arch=arm64] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb [arch=arm64] http://debian-archive.trafficmanager.net/debian/ bullseye-backports main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb-src [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb-src [arch=arm64] http://packages.trafficmanager.net/debian/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye-backports main contrib non-free
|
|
@ -1,18 +0,0 @@
|
|||||||
## Debian mirror for ARM
|
|
||||||
## Not the repo mirror site can change in future, and needs to be updated to be in sync
|
|
||||||
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free
|
|
||||||
deb-src [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free
|
|
||||||
deb [arch=armhf] http://security.debian.org bullseye-security main contrib non-free
|
|
||||||
deb-src [arch=armhf] http://security.debian.org bullseye-security main contrib non-free
|
|
||||||
deb [arch=armhf] http://deb.debian.org/debian bullseye-backports main contrib non-free
|
|
||||||
#deb [arch=armhf] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free
|
|
||||||
#deb-src [arch=armhf] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free
|
|
||||||
#deb [arch=armhf] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free
|
|
||||||
#deb-src [arch=armhf] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free
|
|
||||||
#deb [arch=armhf] http://debian-archive.trafficmanager.net/debian/ bullseye-backports main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb-src [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb-src [arch=armhf] http://packages.trafficmanager.net/debian/debian-security/ bullseye-security main contrib non-free
|
|
||||||
deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye-backports main contrib non-free
|
|
20
files/apt/sources.list.j2
Normal file
20
files/apt/sources.list.j2
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# The configuration is generated by template
|
||||||
|
# Please add additional sources in /etc/apt/sources.list.d
|
||||||
|
|
||||||
|
{% for mirror_url in MIRROR_URLS.split(',') %}
|
||||||
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }} main contrib non-free
|
||||||
|
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }} main contrib non-free
|
||||||
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-updates main contrib non-free
|
||||||
|
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-updates main contrib non-free
|
||||||
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-backports main contrib non-free
|
||||||
|
{% endfor %}
|
||||||
|
{% for mirror_url in MIRROR_SECURITY_URLS.split(',') %}
|
||||||
|
{% set dist_separator='/' %}{% if 'packages.trafficmanager.net/debian' in mirror_url %}{% set dist_separator='_' %}{% endif %}
|
||||||
|
{% if DISTRIBUTION == 'stretch' or DISTRIBUTION == 'buster' %}
|
||||||
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}{{ dist_separator }}updates main contrib non-free
|
||||||
|
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}{{ dist_separator }}updates main contrib non-free
|
||||||
|
{% else %}
|
||||||
|
deb [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-security main contrib non-free
|
||||||
|
deb-src [arch={{ ARCHITECTURE }}] {{ mirror_url }} {{ DISTRIBUTION }}-security main contrib non-free
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
26
scripts/build_mirror_config.sh
Executable file
26
scripts/build_mirror_config.sh
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Generate the sources.list.<arch> in the config path
|
||||||
|
CONFIG_PATH=$1
|
||||||
|
export ARCHITECTURE=$2
|
||||||
|
export DISTRIBUTION=$3
|
||||||
|
|
||||||
|
# The default mirror urls
|
||||||
|
DEFAULT_MIRROR_URLS=http://debian-archive.trafficmanager.net/debian/,http://packages.trafficmanager.net/debian/debian/
|
||||||
|
DEFAULT_MIRROR_SECURITY_URLS=http://debian-archive.trafficmanager.net/debian-security/,http://packages.trafficmanager.net/debian/debian-security/
|
||||||
|
|
||||||
|
# The debian-archive.trafficmanager.net does not support armhf, use debian.org instead
|
||||||
|
if [ "$ARCHITECTURE" == "armhf" ]; then
|
||||||
|
DEFAULT_MIRROR_URLS=http://deb.debian.org/debian/,http://packages.trafficmanager.net/debian/debian/
|
||||||
|
DEFAULT_MIRROR_SECURITY_URLS=http://deb.debian.org/debian-security/,http://packages.trafficmanager.net/debian/debian-security/
|
||||||
|
fi
|
||||||
|
|
||||||
|
[ -z "$MIRROR_URLS" ] && MIRROR_URLS=$DEFAULT_MIRROR_URLS
|
||||||
|
[ -z "$MIRROR_SECURITY_URLS" ] && MIRROR_SECURITY_URLS=$DEFAULT_MIRROR_SECURITY_URLS
|
||||||
|
|
||||||
|
TEMPLATE=files/apt/sources.list.j2
|
||||||
|
[ -f files/apt/sources.list.$ARCHITECTURE.j2 ] && TEMPLATE=files/apt/sources.list.$ARCHITECTURE.j2
|
||||||
|
[ -f $CONFIG_PATH/sources.list.j2 ] && TEMPLATE=$CONFIG_PATH/sources.list.j2
|
||||||
|
[ -f $CONFIG_PATH/sources.list.$ARCHITECTURE.j2 ] && TEMPLATE=$CONFIG_PATH/sources.list.$ARCHITECTURE.j2
|
||||||
|
|
||||||
|
MIRROR_URLS=$MIRROR_URLS MIRROR_SECURITY_URLS=$MIRROR_SECURITY_URLS j2 $TEMPLATE | sed '/^$/N;/^\n$/D' > $CONFIG_PATH/sources.list.$ARCHITECTURE
|
@ -22,6 +22,10 @@ if [ -z "$DISTRO" ]; then
|
|||||||
[ -z "$DISTRO" ] && DISTRO=jessie
|
[ -z "$DISTRO" ] && DISTRO=jessie
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$IMAGENAME" == docker-base-* ]]; then
|
||||||
|
scripts/build_mirror_config.sh ${DOCKERFILE_PATH} $ARCH $DISTRO
|
||||||
|
fi
|
||||||
|
|
||||||
# add script for reproducible build. using sha256 instead of tag for docker base image.
|
# add script for reproducible build. using sha256 instead of tag for docker base image.
|
||||||
scripts/docker_version_control.sh $@
|
scripts/docker_version_control.sh $@
|
||||||
|
|
||||||
|
2
slave.mk
2
slave.mk
@ -132,6 +132,8 @@ export TRUSTED_GPG_URLS
|
|||||||
export SONIC_VERSION_CONTROL_COMPONENTS
|
export SONIC_VERSION_CONTROL_COMPONENTS
|
||||||
DEFAULT_CONTAINER_REGISTRY := $(SONIC_DEFAULT_CONTAINER_REGISTRY)
|
DEFAULT_CONTAINER_REGISTRY := $(SONIC_DEFAULT_CONTAINER_REGISTRY)
|
||||||
export DEFAULT_CONTAINER_REGISTRY
|
export DEFAULT_CONTAINER_REGISTRY
|
||||||
|
export MIRROR_URLS
|
||||||
|
export MIRROR_SECURITY_URLS
|
||||||
|
|
||||||
ifeq ($(SONIC_ENABLE_PFCWD_ON_START),y)
|
ifeq ($(SONIC_ENABLE_PFCWD_ON_START),y)
|
||||||
ENABLE_PFCWD_ON_START = y
|
ENABLE_PFCWD_ON_START = y
|
||||||
|
@ -14,40 +14,7 @@ FROM {{ prefix }}debian:bullseye
|
|||||||
MAINTAINER gulv@microsoft.com
|
MAINTAINER gulv@microsoft.com
|
||||||
|
|
||||||
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
|
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
|
||||||
|
COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
|
||||||
## TODO: Re-add in any necessary mirror URLs here as they become available
|
|
||||||
RUN echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ bullseye main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian bullseye-backports main" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian-security bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list
|
|
||||||
|
|
||||||
{%- if CONFIGURED_ARCH == "armhf" %}
|
|
||||||
RUN echo "deb [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free" > /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://deb.debian.org/debian bullseye main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://deb.debian.org/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://deb.debian.org/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://security.debian.org bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://security.debian.org bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo 'deb [arch=armhf] http://ftp.debian.org/debian bullseye-backports main' >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://packages.trafficmanager.net/debian/debian-security bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list
|
|
||||||
{%- elif CONFIGURED_ARCH == "arm64" %}
|
|
||||||
RUN echo "deb [arch=arm64] http://deb.debian.org/debian bullseye main contrib non-free" > /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://deb.debian.org/debian bullseye main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://deb.debian.org/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://deb.debian.org/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://security.debian.org bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://security.debian.org bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian-security bullseye-security main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo 'deb [arch=arm64] http://ftp.debian.org/debian bullseye-backports main' >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian bullseye-updates main contrib non-free" >> /etc/apt/sources.list
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
## Make apt-get non-interactive
|
## Make apt-get non-interactive
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
@ -12,39 +12,7 @@ FROM {{ prefix }}debian:buster
|
|||||||
MAINTAINER gulv@microsoft.com
|
MAINTAINER gulv@microsoft.com
|
||||||
|
|
||||||
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
|
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
|
||||||
|
COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
|
||||||
RUN echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ buster main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ buster main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ buster/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ buster/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian buster-backports main" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian buster main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian-security buster_updates main contrib non-free" >> /etc/apt/sources.list
|
|
||||||
|
|
||||||
{%- if CONFIGURED_ARCH == "armhf" %}
|
|
||||||
RUN echo "deb [arch=armhf] http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://deb.debian.org/debian buster main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://deb.debian.org/debian buster-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://deb.debian.org/debian buster-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://security.debian.org buster/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://security.debian.org buster/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo 'deb [arch=armhf] http://ftp.debian.org/debian buster-backports main' >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://packages.trafficmanager.net/debian/debian buster main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian-security buster_updates main contrib non-free" >> /etc/apt/sources.list
|
|
||||||
{%- elif CONFIGURED_ARCH == "arm64" %}
|
|
||||||
RUN echo "deb [arch=arm64] http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://deb.debian.org/debian buster main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://deb.debian.org/debian buster-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://deb.debian.org/debian buster-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://security.debian.org buster/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://security.debian.org buster/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo 'deb [arch=arm64] http://ftp.debian.org/debian buster-backports main' >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian buster main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian buster-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian-security buster_updates main contrib non-free" >> /etc/apt/sources.list
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
## Make apt-get non-interactive
|
## Make apt-get non-interactive
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
@ -10,40 +10,7 @@ FROM {{ prefix }}debian:stretch
|
|||||||
MAINTAINER gulv@microsoft.com
|
MAINTAINER gulv@microsoft.com
|
||||||
|
|
||||||
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
|
COPY ["no-check-valid-until", "/etc/apt/apt.conf.d/"]
|
||||||
|
COPY ["sources.list.{{ CONFIGURED_ARCH }}", "/etc/apt/sources.list"]
|
||||||
RUN echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian/ stretch main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=amd64] http://debian-archive.trafficmanager.net/debian-security/ stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://debian-archive.trafficmanager.net/debian stretch-backports main" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.trafficmanager.net/debian/debian-security stretch_updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=amd64] http://packages.microsoft.com/debian/9/prod stretch main" >> /etc/apt/sources.list
|
|
||||||
|
|
||||||
{%- if CONFIGURED_ARCH == "armhf" %}
|
|
||||||
RUN echo "deb [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=armhf] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo 'deb [arch=armhf] http://ftp.debian.org/debian stretch-backports main' >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://packages.trafficmanager.net/debian/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://packages.trafficmanager.net/debian/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=armhf] http://packages.trafficmanager.net/debian/debian-security stretch_updates main contrib non-free" >> /etc/apt/sources.list
|
|
||||||
{%- elif CONFIGURED_ARCH == "arm64" %}
|
|
||||||
RUN echo "deb [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://deb.debian.org/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb-src [arch=arm64] http://security.debian.org stretch/updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo 'deb [arch=arm64] http://ftp.debian.org/debian stretch-backports main' >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian stretch main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian stretch-updates main contrib non-free" >> /etc/apt/sources.list && \
|
|
||||||
echo "deb [arch=arm64] http://packages.trafficmanager.net/debian/debian-security stretch_updates main contrib non-free" >> /etc/apt/sources.list
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
## Make apt-get non-interactive
|
## Make apt-get non-interactive
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
Loading…
Reference in New Issue
Block a user