Change in docker-playground[master]: open5gs-latest: new Dockerfile for latest open5gs from packages

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Nov 23 09:20:18 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/26339 )


Change subject: open5gs-latest: new Dockerfile for latest open5gs from packages
......................................................................

open5gs-latest: new Dockerfile for latest open5gs from packages

Change-Id: I06b90b84d22ba8d34bed9f84861ff94bdcabe6c3
Related: SYS#5602
---
A open5gs-latest/Dockerfile
A open5gs-latest/Makefile
2 files changed, 30 insertions(+), 0 deletions(-)



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

diff --git a/open5gs-latest/Dockerfile b/open5gs-latest/Dockerfile
new file mode 100644
index 0000000..ba8c866
--- /dev/null
+++ b/open5gs-latest/Dockerfile
@@ -0,0 +1,25 @@
+ARG	REGISTRY=docker.io
+FROM	${REGISTRY}/debian:buster
+
+MAINTAINER Vadim Yanitskiy <vyanitskiy at sysmocom.de>
+
+# TODO: remove me!
+ADD sources.list /etc/apt/sources.list
+
+RUN	apt-get update && \
+	apt-get install -y --no-install-recommends \
+		ca-certificates \
+		gnupg \
+		curl
+RUN	curl https://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/Debian_10/Release.key | apt-key add -
+RUN	curl https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add -
+
+RUN	echo "deb http://download.opensuse.org/repositories/home:/acetcom:/open5gs:/latest/Debian_10/ ./" \
+		> /etc/apt/sources.list.d/open5gs.list
+RUN	echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" \
+		> /etc/apt/sources.list.d/mongodb-org.list
+
+RUN	apt-get update && \
+	apt-get install -y \
+		mongodb-org \
+		open5gs
diff --git a/open5gs-latest/Makefile b/open5gs-latest/Makefile
new file mode 100644
index 0000000..95c99bb
--- /dev/null
+++ b/open5gs-latest/Makefile
@@ -0,0 +1,5 @@
+DATA_DIR?=$(shell pwd)
+USER_ID?=$(shell id -u)
+RUN_ARGS=-v $(DATA_DIR):/data --user $(USER_ID) --network host --rm
+
+include ../make/Makefile

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26339
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I06b90b84d22ba8d34bed9f84861ff94bdcabe6c3
Gerrit-Change-Number: 26339
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211123/216b8fa2/attachment.htm>


More information about the gerrit-log mailing list