Use tini as init in all containers

- Print problems, e.g., segfault
- Handle signals and zombie processes properly
This commit is contained in:
Robert Schmidt
2024-03-05 11:02:38 +01:00
parent ebe1b711ac
commit d7c3806f13
24 changed files with 64 additions and 20 deletions
+2 -1
View File
@@ -122,5 +122,6 @@ WORKDIR /opt/oai-enb
# 36422 --> X2C, SCTP/UDP
EXPOSE 2152/udp 36412/udp 36422/udp
ENTRYPOINT ["/opt/oai-enb/bin/entrypoint.sh"]
COPY --from=enb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-enb/bin/entrypoint.sh"]
CMD ["/opt/oai-enb/bin/lte-softmodem", "-O", "/opt/oai-enb/etc/enb.conf"]