Skip to content

Commit

Permalink
fix(docker): use tini as entrypoint
Browse files Browse the repository at this point in the history
This should workaround #5400 where child git processes are not reaped
correctly.

Signed-off-by: Fatih Acar <[email protected]>
  • Loading branch information
fatih-acar committed Jan 16, 2025
1 parent 1e7daa0 commit 9cf5f1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion development/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN mkdir /prom_shared /remote

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install --no-install-recommends -y curl git pkg-config build-essential ca-certificates && \
apt-get install --no-install-recommends -y tini curl git pkg-config build-essential ca-certificates && \
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.8.5 python3 - && \
apt-get autoremove -y && \
apt-get clean all && \
Expand Down Expand Up @@ -99,3 +99,5 @@ RUN poetry install --no-interaction --no-ansi --no-root --no-directory && \
# --------------------------------------------
COPY . ./
RUN poetry install --no-interaction --no-ansi

ENTRYPOINT ["tini", "-g", "--"]

0 comments on commit 9cf5f1f

Please sign in to comment.