From d62e928a999d59b53c99c9848a9627e7d7b92818 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 19 May 2024 10:14:20 -0400 Subject: [PATCH] Add catatonit in the docker image --- Dockerfile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2b8cd30..0731d7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,13 @@ RUN cargo build --release # Runner stage. FROM alpine -RUN apk update && \ - apk add curl +RUN apk update \ + && apk add --no-cache \ + curl \ + catatonit \ + && rm -rf \ + /root/.cache \ + /tmp/* ARG UNAME=port_updater ARG UID=1000 @@ -38,4 +43,7 @@ USER $UNAME WORKDIR /app -ENTRYPOINT [ "/app/gluetun-qbit-port-updater" ] \ No newline at end of file +ENTRYPOINT ["/usr/bin/catatonit", "--"] +CMD ["/app/gluetun-qbit-port-updater"] + +LABEL org.opencontainers.image.source="https://git.seanomik.net/SeanOMik/gluetun-qbit-port-updater" \ No newline at end of file