Commit Graph

13 Commits

Author SHA1 Message Date
Vadim Yanitskiy 4c3d879924 open5gs-master: fix comment in Dockerfile
Change-Id: I34577dd39051f429af8257afe075f22b20cfdfe4
Related: OS#5913
2023-02-21 00:09:04 +07:00
Pau Espin e7a5379e29 open5gs: Enable libmetrics prometheus implementation
metrics support using Prometheus has been recently added to open5gs
(28e40a0f1b9048768958344e213c69994be671f5). However, it is still not
enabled by default. Let's enable it and update open5gs config files to
make use of it.

Change-Id: I6ec827d66241e20d631f3a851457921718c168a0
2022-06-08 13:49:43 +02:00
Oliver Smith c6094726ae */Dockerfile: drop MAINTAINER line
MAINTAINER is deprecated, drop the line in all Dockerfiles as suggested
by Vadim.

Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Change-Id: If1ef3032af2075d792c526ae744ec4c0c091da3a
2022-05-13 18:17:06 +02:00
Pau Espin 6e1a4e7df0 ttcn3-ggsn-test-ogs: set CAP_NET_RAW for open5gs-upfd
The SO_BINDTODEVICE feature (used for VRF) requires CAP_NET_RAW. Since
we run open5gs-upfd as user "osmocom", that seems to be causing some
permission problems under some systems (like jenkins). Let's make sure
we add the capabilitites to the binary before launching it as user
"osmocom".

Change-Id: I51ee6954a6c019a41cfcd50b2d99166316989d9b
2022-05-02 11:36:18 +02:00
Vadim Yanitskiy 4403dbb0a5 open5gs-master: ensure consistent install paths with '-latest'
This allows running TTCN-3 test cases against both '-latest' and
'-master' images using the same configuration files.

Change-Id: Ib4dcf3a9f77205dcdd0ff4932763e202cb89001c
Related: SYS#5602
2022-02-07 16:37:21 +06:00
Vadim Yanitskiy e8c1360b92 open5gs-master: install dependencies using apt-get build-dep
This is a 3-rd party project, which may introduce new dependencies
in the future.  Rather than maintaining our own list of packages
to install, let's employ 'apt-get build-dep'.  This tool parses
'debian/control' and installs all dependencies automatically.

Change-Id: I71ad7256116ee30f15aff38fd38588aa2bfab456
Related: SYS#5602
2022-02-07 16:30:20 +06:00
Vadim Yanitskiy c0e6589279 open5gs-master: migrate to debian-bullseye-build
It's a common practice to have a shared '-build' image and base
the '-master' images on top of it to avoid installing same
dependencies across different images.

Finally we can use more recent meson from debian's repositories,
so no need to depend on python and install it using pip.

Change-Id: I93422916b232f686dc27a2ff452e20e73db50f58
Related: SYS#5602
2022-02-04 13:33:40 +00:00
Vadim Yanitskiy 27031af313 open5gs-master: remove both setup.sh and pgw.sh
Having these scripts makes no sense anymore, because:

  * setup.sh was moved to ttcn3-pgw-test,
  * pgw.sh runs non-existing open5gs-pgwd.

Change-Id: I96abc3ac57ade34cd79af6451bb201e36f5cd7f7
Related: SYS#5602
2022-02-03 13:56:25 +06:00
Vadim Yanitskiy 92f0b00cf1 open5gs-master: add missing dependencies
Change-Id: I39806a8cc33a1f975b03839fb16466dabb57a26d
Related: SYS#5602
2021-11-19 00:40:45 +00:00
Vadim Yanitskiy 9539f24193 open5gs-master: there is no 'master' anymore, use 'main'
Change-Id: If02740d8ddb4775cc22e9d4ed78226d09c466626
Related: SYS#5602
2021-11-19 00:40:45 +00:00
Harald Welte 027826fdba introduce 'REGISTRY' argument to all Dockerfiles
This is initialized to docker.io, keeping the default behaviour
if not specified.  However, it allows us to specify a private
registry later on.

Related: OS#4839
Change-Id: I32d4ee6256033c809108c1b86cb6b6c58d880f49
2020-11-02 17:02:26 +01:00
Harald Welte c83c2b1616 open5gs: Add pgw.sh
This can serve as an entrypoint for running open5gs-pgw inside
the open5gs-master container.  It will run setup.sh to create the ogstun
device, followed by running open5gs-pgwd as 'osmocom' user.

Change-Id: I4527b5e328fb248552e69961b80b9f791ec74293
2020-04-27 11:19:36 +00:00
Harald Welte 793e9ff973 add open5gs-master docker container
Change-Id: I089c51caa1b1d8acf0063b7bc7fe61a805b5e800
2020-04-26 23:15:01 +02:00