The open5gs-latest image installs mongodb, but the master one doesn't.
Having a mongodb image is required to run together with open5gs-hssd.
Related: SYS#6588
Change-Id: Id6dde5f54b666279c102eb14fabb87194192c9e4
meson install doesn't install that file because it's aimed at
developers. However, debian package does install it manually in
debian/open5gs-common.install.
Hence, the app is available in open5gs-latest docker image, but not in
open5gs-master. Manually copy it to /usr/bin to have both behave the
same in this aspect.
Related: SYS#6588
Change-Id: I54a760d04e6522d843e6d65b94ef6067e502fbaa
The metrics_impl option has been dropped in the related commit as
prometheus is now the default in open5gs. With newer meson, unknown
options are treated as errors (used to be warnings before).
Fix for:
ERROR: Unknown options: "metrics_impl"
Related: OS#6057
Related: 982ac61894
Change-Id: Ib859ef7389928019addecae08df2011eecda80ad
Give the user that runs open5gs a different UID than the build user from
the debian-bookworm-build container.
Fix for:
useradd: UID 1000 is not unique
Related: OS#6057
Change-Id: I49051e038740cfccbb11ad33a1884bb7de318710
Instead of hardcoding bullseye, use the DISTRO variable so it now
defaults to bookworm.
Related: OS#6057
Change-Id: Ia392de80ee1f0844563f08a6dc775678ef6b263f
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
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
This allows running TTCN-3 test cases against both '-latest' and
'-master' images using the same configuration files.
Change-Id: Ib4dcf3a9f77205dcdd0ff4932763e202cb89001c
Related: SYS#5602
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
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
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
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
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