Skip to content

Commit 99ade00

Browse files
Dockerfile: use tini
1 parent e75f7bc commit 99ade00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
FROM openjdk:11.0.16-jre-slim
22
LABEL author="TestingBot <[email protected]>"
33

4-
RUN apt-get update && apt-get install -y wget unzip && rm -rf /var/lib/apt/lists/*
4+
RUN apt-get update && apt-get install -y wget unzip tini && rm -rf /var/lib/apt/lists/*
55

66
ARG TUNNEL=testingbot-tunnel
77

88
RUN wget https://testingbot.com/downloads/${TUNNEL}.zip \
99
&& unzip ${TUNNEL}.zip \
1010
&& rm ${TUNNEL}.zip
1111

12-
ENTRYPOINT ["java", "-jar", "testingbot-tunnel.jar"]
12+
ENTRYPOINT ["/usr/bin/tini", "--", "java", "-jar", "testingbot-tunnel.jar"]

0 commit comments

Comments
 (0)