Use tini in docker as PID1 to enable signal handling.
@@ -42,7 +42,7 @@ FROM debian:buster-slim
RUN useradd -ms /bin/bash tremor
RUN apt-get update \
- && apt-get install -y libssl1.1 libcurl4 libatomic1 \
+ && apt-get install -y libssl1.1 libcurl4 libatomic1 tini \
#
# Clean up
&& apt-get autoremove -y \
@@ -65,4 +65,4 @@ COPY docker/logger.yaml /etc/tremor/logger.yaml
ENV TREMOR_PATH=/opt/local/tremor/lib
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["tini", "/entrypoint.sh"]
