From 6264855e6f0f82cf8c5449f9667732c81470e81c Mon Sep 17 00:00:00 2001 From: istmxrein <maximilian.reinheimer@stud.h-da.de> Date: Fri, 9 Sep 2022 12:50:28 +0200 Subject: [PATCH] fix Containerfile dumb-init source --- Containerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index fa266a2..a443b7d 100644 --- a/Containerfile +++ b/Containerfile @@ -38,8 +38,9 @@ WORKDIR $HOME COPY cleanup.py env.py config.sh prepare.py run.py requirements.txt start.sh ./ RUN dnf install -y --nodocs python38-pip git-core && \ + pip3 install dumb-init && \ python3.8 -m venv $VENV && \ - pip install wheel dumb-init && \ + pip install wheel && \ pip install -r requirements.txt && \ dnf remove -y git-core && \ dnf clean all -y @@ -50,5 +51,5 @@ RUN chgrp -R 0 $HOME && \ USER 1001 -ENTRYPOINT ["/usr/bin/dumb-init", "--"] +ENTRYPOINT ["dumb-init", "--"] CMD ["./start.sh"] -- GitLab