Dockerfile: Use dumb-init and overwrite entrypoint

This commit is contained in:
Manuel Rüger 2023-04-26 12:11:22 +02:00
parent abd0c8bad6
commit 73f2693421

View File

@ -7,9 +7,11 @@ RUN make get \
FROM chromedp/headless-shell:latest
RUN apt-get update \
&& apt-get install --no-install-recommends -qq ca-certificates bash sed git \
&& apt-get install --no-install-recommends -qq ca-certificates bash sed git dumb-init \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY --from=builder /go/src/github.com/kovetskiy/mark/mark /bin/
WORKDIR /docs
ENTRYPOINT ["dumb-init", "--"]