Skip to content

Commit 3c7f0a4

Browse files
committed
rolled back Dockerfile
Signed-off-by: Aleksandr Petrov <burnb83@gmail.com>
1 parent 04263ef commit 3c7f0a4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ FROM alpine:latest
1414

1515
RUN apk update && \
1616
apk upgrade && \
17-
apk add --no-cache aws-cli ca-certificates git openssh-client tini
17+
apk add ca-certificates git openssh-client python3 py3-pip tini && \
18+
pip3 install --upgrade pip && \
19+
pip3 install awscli && \
20+
rm -rf /var/cache/apk/*
1821

19-
RUN mkdir -p /usr/local/bin /app/config
22+
RUN mkdir -p /usr/local/bin
23+
RUN mkdir -p /app/config
2024
RUN adduser --home "/app" --disabled-password --uid 1000 argocd
2125

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

2529
USER 1000
2630

27-
ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/argocd-image-updater"]
31+
ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/argocd-image-updater"]

0 commit comments

Comments
 (0)