diff --git a/Dockerfile b/Dockerfile index 8222378..130ee22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -FROM alpine:3.14.3 +FROM alpine:3.15.4 -RUN apk add --no-cache \ - curl \ - bash \ - git \ - && rm -rf /var/cache/apk/* +RUN apk update && apk --no-cache add bash curl git SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN curl -sL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv3.8.7/kustomize_v3.8.7_linux_amd64.tar.gz \ - | tar xz -C /usr/local/bin + | tar xz -C /usr/local/bin + +RUN git config --global --add safe.directory /github/workspace + +RUN rm -rf /var/cache/apk/* COPY kustdiff /kustdiff