Skip to content

Commit 0f64255

Browse files
authored
chore: Add openssh-client to container image (#165)
1 parent 4a4cfd0 commit 0f64255

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ RUN mkdir -p dist && \
99

1010
FROM alpine:latest
1111

12-
RUN apk update && apk upgrade && apk add git
12+
RUN apk update && apk upgrade && apk add git openssh-client
1313

1414
RUN mkdir -p /usr/local/bin
1515
RUN mkdir -p /app/config
16+
RUN adduser --home "/app" --disabled-password --uid 1000 argocd
1617

1718
COPY --from=builder /src/argocd-image-updater/dist/argocd-image-updater /usr/local/bin/
1819
COPY hack/git-ask-pass.sh /usr/local/bin/git-ask-pass.sh

0 commit comments

Comments
 (0)