summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDaniel Mavis <90711593+dmavis@users.noreply.github.com>2023-07-05 20:11:44 -0500
committerGitHub <noreply@github.com>2023-07-05 21:11:44 -0400
commitf6c4fe387387d342fabcbc06fbe320645163851a (patch)
tree125ab34638b56c440bcd62ce88b2cdceae90c321 /Dockerfile
parent7c93d602a7e3e18b175a8d67457f37e9a9be3d73 (diff)
fix: git zombie processes left behind after periodic image updater runs (#584)
Signed-off-by: Daniel Mavis <daniel.mavis@faa.gov>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index ec38e46..c374bae 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,7 @@ FROM alpine:latest
RUN apk update && \
apk upgrade && \
- apk add ca-certificates git openssh-client python3 py3-pip && \
+ apk add ca-certificates git openssh-client python3 py3-pip tini && \
pip3 install --upgrade pip && \
pip3 install awscli && \
rm -rf /var/cache/apk/*
@@ -28,4 +28,4 @@ COPY hack/git-ask-pass.sh /usr/local/bin/git-ask-pass.sh
USER 1000
-ENTRYPOINT ["/usr/local/bin/argocd-image-updater"]
+ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/argocd-image-updater"]