FROM ubuntu:jammy ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && \ apt-get -yq dist-upgrade && \ apt-get install -y --no-install-recommends \ python3-pip \ python3-setuptools \ python3-wheel \ ninja-build \ build-essential \ flex \ bison \ git \ meson \ libsctp-dev \ libgnutls28-dev \ libgcrypt-dev \ libssl-dev \ libidn11-dev \ libmongoc-dev \ libbson-dev \ libyaml-dev \ libmicrohttpd-dev \ libcurl4-gnutls-dev \ libnghttp2-dev \ iproute2 \ ca-certificates \ netbase \ iptables \ dnsutils \ net-tools \ libtalloc-dev \ cmake \ inotify-tools \ pkg-config && \ apt-get clean && \ git clone --recursive https://github.com/open5gs/open5gs && \ cd open5gs && git checkout v2.5.6 && meson build --prefix=/ && meson configure -Dmetrics_impl=prometheus build && ninja -C build && cd build && ninja install COPY auto-reload-open5gs.sh /home/auto-reload-open5gs.sh RUN chmod +x /home/auto-reload-open5gs.sh WORKDIR /