mirror of
https://github.com/harness-community/drone-helm-chart-container-registry.git
synced 2026-06-04 18:24:12 +08:00
dockerfile fix
This commit is contained in:
@@ -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"]
|
||||
@@ -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"]
|
||||
Reference in New Issue
Block a user