Skip to content

Commit cd1e5ec

Browse files
committed
docker: wrap crater with tini to ensure signals are handled
1 parent 09ab26d commit cd1e5ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
5757
build-essential \
5858
pkg-config \
5959
libssl-dev \
60-
ca-certificates
60+
ca-certificates \
61+
tini
6162

6263
RUN mkdir /workspace
6364
ENV CRATER_WORK_DIR=/workspace
6465
ENV CRATER_INSIDE_DOCKER=1
6566

6667
COPY --from=build /source/target/release/crater /usr/local/bin/
67-
ENTRYPOINT ["crater"]
68+
ENTRYPOINT ["tini", "crater"]

0 commit comments

Comments
 (0)