dockerfile fix

This commit is contained in:
Akshit Agrawal
2024-01-19 16:54:09 +05:30
parent f8cfd0b647
commit a30e5ace1d
2 changed files with 3 additions and 12 deletions
-7
View File
@@ -2,13 +2,6 @@ FROM --platform=amd64 alpine:latest
WORKDIR /app
RUN apk --no-cache add ca-certificates curl && \
curl -LO "https://get.helm.sh/helm-v3.13.0-linux-amd64.tar.gz" && \
tar -zxvf helm-v3.13.0-linux-amd64.tar.gz && \
mv linux-amd64/helm /usr/local/bin/helm && \
rm -rf linux-amd64 helm-v3.13.0-linux-amd64.tar.gz && \
chmod +x /usr/local/bin/helm
ADD ./drone-helm /app/
ENTRYPOINT ["/app/drone-helm"]
+3 -5
View File
@@ -1,9 +1,7 @@
FROM alpine:latest as base
FROM --platform=arm64 alpine:latest
WORKDIR /app
ADD ./drone-helm /bin/
ADD ./drone-helm /app/
RUN chmod +x /bin/drone-helm
ENTRYPOINT ["/bin/drone-helm"]
ENTRYPOINT ["/app/drone-helm"]