Change in docker-playground[master]: osmo-*/Dockerfile: fix default run command

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Fri Jan 25 13:21:45 UTC 2019


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/12695


Change subject: osmo-*/Dockerfile: fix default run command
......................................................................

osmo-*/Dockerfile: fix default run command

Adjust Dockerfiles where the default run command was different from the
hardcoded run command in jenkins.sh (e.g. missing config file
parameters).

A follow-up commit will remove the hardcoded jenkins.sh command, so it
works with both *-master and *-latest images (they have different paths
to the binaries).

Related: OS#3767
Change-Id: I60096406e08641cc3aaab0f77d7491df39475feb
---
M osmo-bsc-master/Dockerfile
M osmo-sip-latest/Dockerfile
M osmo-sip-master/Dockerfile
3 files changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/95/12695/1

diff --git a/osmo-bsc-master/Dockerfile b/osmo-bsc-master/Dockerfile
index 5c76688..7afab23 100644
--- a/osmo-bsc-master/Dockerfile
+++ b/osmo-bsc-master/Dockerfile
@@ -42,6 +42,6 @@
 COPY	osmo-bsc.cfg /data/osmo-bsc.cfg
 
 WORKDIR	/data
-CMD	["/usr/local/bin/osmo-bsc"]
+CMD	["/usr/local/bin/osmo-bsc", "-c", "/data/osmo-bsc.cfg"]
 
 #EXPOSE	
diff --git a/osmo-sip-latest/Dockerfile b/osmo-sip-latest/Dockerfile
index a468c9f..bce5566 100644
--- a/osmo-sip-latest/Dockerfile
+++ b/osmo-sip-latest/Dockerfile
@@ -27,6 +27,6 @@
 COPY	osmo-sip-connector.cfg /data/osmo-sip-connector.cfg
 
 WORKDIR	/data
-CMD	["/usr/bin/osmo-sip-connector"]
+CMD	["/usr/bin/osmo-sip-connector", "-M", "/data/unix/mncc"]
 
 #EXPOSE	
diff --git a/osmo-sip-master/Dockerfile b/osmo-sip-master/Dockerfile
index e69cbc7..6adab56 100644
--- a/osmo-sip-master/Dockerfile
+++ b/osmo-sip-master/Dockerfile
@@ -46,6 +46,6 @@
 COPY	osmo-sip-connector.cfg /data/osmo-sip-connector.cfg
 
 WORKDIR	/data
-CMD	["/usr/local/bin/osmo-sip-connector"]
+CMD	["/usr/local/bin/osmo-sip-connector", "-M", "/data/unix/mncc"]
 
 #EXPOSE	

-- 
To view, visit https://gerrit.osmocom.org/12695
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I60096406e08641cc3aaab0f77d7491df39475feb
Gerrit-Change-Number: 12695
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190125/35dc16e8/attachment.htm>


More information about the gerrit-log mailing list