Skip to content

Commit

Permalink
fix: git zombie processes left behind after periodic image updater ru…
Browse files Browse the repository at this point in the history
…ns (argoproj-labs#584)

Signed-off-by: Daniel Mavis <daniel.mavis@faa.gov>
Signed-off-by: Francesc Arbona <francesc.arbona@global.ntt>
  • Loading branch information
dmavis authored and xescab committed Sep 8, 2023
1 parent e62ac4a commit f6539b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
apk add gcc musl-dev python3-dev libffi-dev openssl-dev cargo make && \
Expand All @@ -30,4 +30,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"]
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ spec:
app.kubernetes.io/name: argocd-image-updater
spec:
containers:
- command:
- /usr/local/bin/argocd-image-updater
- args:
- run
image: quay.io/argoprojlabs/argocd-image-updater:latest
imagePullPolicy: Always
Expand Down

0 comments on commit f6539b1

Please sign in to comment.