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
+6
View File
@@ -46,6 +46,12 @@ RUN dnf install 'dnf-command(config-manager)' -y && \
python3-pip && \
pip3 install --ignore-installed pyyaml
# Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini
# it will be copied into target containers, to print exit numbers and handle signals properly
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
#create the WORKDIR
WORKDIR /oai-ran
COPY . .