diff --git a/buildx.Dockerfile b/buildx.Dockerfile index 61fca76..8fe017a 100644 --- a/buildx.Dockerfile +++ b/buildx.Dockerfile @@ -1,6 +1,12 @@ # syntax=docker/dockerfile:1.4 FROM alpine:3 -COPY helm-changelog / +WORKDIR /data -CMD ["/helm-changelog"] +RUN apk add git + +COPY --chown=1000:1000 helm-changelog /app/helm-changelog + +USER 1000:1000 + +CMD ["/app/helm-changelog"]