aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-uecups-master
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-uecups-master
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-uecups-master')
-rw-r--r--osmo-uecups-master/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/osmo-uecups-master/Dockerfile b/osmo-uecups-master/Dockerfile
index 777797f..fb86563 100644
--- a/osmo-uecups-master/Dockerfile
+++ b/osmo-uecups-master/Dockerfile
@@ -1,9 +1,11 @@
ARG USER
FROM $USER/debian-buster-build
+# 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:/nightly/Debian_10/"
+ARG OSMOCOM_REPO="$OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/Debian_10/"
COPY Release.key /tmp/Release.key