Skip to content

Commit

Permalink
fix: build/images/kubectl-delivery/Dockerfile to reduce vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
snyk-bot committed Dec 10, 2024
1 parent 157216a commit 5c12f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/images/kubectl-delivery/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.17 AS build
FROM alpine:3.21.0 AS build

# Install kubectl.
ENV K8S_VERSION v1.29.3
Expand All @@ -8,7 +8,7 @@ RUN wget -q https://storage.googleapis.com/kubernetes-release/release/${K8S_VERS
RUN chmod +x ./kubectl
RUN mv ./kubectl /bin/kubectl

FROM alpine:3.17
FROM alpine:3.21.0
COPY --from=build /bin/kubectl /bin/kubectl
RUN apk add --no-cache bash

Expand Down

0 comments on commit 5c12f5e

Please sign in to comment.