aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-bts-master/Dockerfile
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2018-09-05 13:12:13 +0200
committerOliver Smith <osmith@sysmocom.de>2018-09-06 15:17:06 +0200
commit7ed7a2bdd2f249347ac93aef6a8cd32b2a6cfd3a (patch)
treec775b2e038f0a4466a6e1d822425c4d93bdfb69c /osmo-bts-master/Dockerfile
parent3f80bc32ee057cf5892b65649594a8ffd8df4a70 (diff)
Fix "'laforge/debian-jessie-build' not found"
Instead of hardcoding laforge's username in all FROM statements in the Dockerfiles, make use of the USER variable (as passed through by the "make/Makefile" with "docker build --build-arg USER=..."). Thanks to fixeria for proposing this fix! This requires running docker-ce, old versions of docker (such as the one in the official repositories of the latest Fedora) don't support variables in the FROM line. But docker-ce can be installed after adding docker's 3rd party repositories. Closes: OS#3457 Change-Id: Ic5f11c8a4e247f632cb6aea6d147e94c53e0130f
Diffstat (limited to 'osmo-bts-master/Dockerfile')
-rw-r--r--osmo-bts-master/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/osmo-bts-master/Dockerfile b/osmo-bts-master/Dockerfile
index 3c2dbec..69a8d4c 100644
--- a/osmo-bts-master/Dockerfile
+++ b/osmo-bts-master/Dockerfile
@@ -1,4 +1,5 @@
-FROM laforge/debian-jessie-build
+ARG USER
+FROM $USER/debian-jessie-build
MAINTAINER Harald Welte <laforge@gnumonks.org>