aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-bsc-latest/Dockerfile
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-11-18 17:52:56 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-12-02 14:27:02 +0100
commit7d7a06b749fbfefdb55b9dff3b727d17a38004f5 (patch)
tree606a7aeadf45fe56639b1ef9cd9d6a5aba2b53aa /osmo-bsc-latest/Dockerfile
parent78ae9377a743db01c6d1b26daf563ef2f8f7eb6e (diff)
common: Introduce OSMOCOM_REPO_MIRROR param
This allows easily changing to another osmocom repo base URL if the default one is down. Related: OS#4862 Change-Id: I8010b08f3dabacfb3c13a44eece6c7a490e0742e
Diffstat (limited to 'osmo-bsc-latest/Dockerfile')
-rw-r--r--osmo-bsc-latest/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/osmo-bsc-latest/Dockerfile b/osmo-bsc-latest/Dockerfile
index 178af72..d327a24 100644
--- a/osmo-bsc-latest/Dockerfile
+++ b/osmo-bsc-latest/Dockerfile
@@ -1,10 +1,12 @@
ARG REGISTRY=docker.io
ARG UPSTREAM_DISTRO=debian:stretch
FROM ${REGISTRY}/${UPSTREAM_DISTRO}
+# Arguments used after FROM must be specified again
+ARG OSMOCOM_REPO_MIRROR="http://download.opensuse.org"
MAINTAINER Harald Welte <laforge@gnumonks.org>
-ARG OSMOCOM_REPO="http://download.opensuse.org/repositories/network:/osmocom:/latest/Debian_9.0/"
+ARG OSMOCOM_REPO="$OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/latest/Debian_9.0/"
COPY Release.key /tmp/Release.key