diff options
| author | Daniel Mavis <90711593+dmavis@users.noreply.github.com> | 2023-07-05 20:11:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-05 21:11:44 -0400 |
| commit | f6c4fe387387d342fabcbc06fbe320645163851a (patch) | |
| tree | 125ab34638b56c440bcd62ce88b2cdceae90c321 /Dockerfile | |
| parent | 7c93d602a7e3e18b175a8d67457f37e9a9be3d73 (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-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"] |
