Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade alpine from latest to 3.18.3 #365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.offline
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /
COPY . /
RUN make build

FROM alpine:latest as schemas
FROM alpine:3.18.3 as schemas
RUN apk --no-cache add git
RUN git clone --depth 1 https://github.com/instrumenta/kubernetes-json-schema.git
RUN git clone --depth 1 https://github.com/garethr/openshift-json-schema.git
Expand All @@ -13,7 +13,7 @@ FROM schemas as standalone-schemas
RUN cd kubernetes-json-schema/master && \
find -maxdepth 1 -type d -not -name "." -not -name "*-standalone*" | xargs rm -rf

FROM alpine:latest
FROM alpine:3.18.3
RUN apk --no-cache add ca-certificates
COPY --from=builder /bin/kubeval .
COPY --from=standalone-schemas /kubernetes-json-schema /schemas/kubernetes-json-schema/master
Expand Down