Skip to content

Commit

Permalink
Dockerfile: Use dumb-init and overwrite entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueg committed Apr 26, 2023
1 parent abd0c8b commit 73f2693
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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", "--"]

0 comments on commit 73f2693

Please sign in to comment.