Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit e2b858f

Browse files
authored
🌱 replace ARG with ENV in builder Dockerfile (#157)
replace ARG with ENV in builder Dockerfile I think the versions are not getting updated which are backec by ARG. This commit replaces the same with ENV so that we get automatic updates for all the components. kubectl is excluded because maybe that will be very fast upgrades multiple times a month and kubectl is pretty stable I think and we probably don't need really fast upgrades there. Signed-off-by: kranurag7 <[email protected]>
1 parent aa0b234 commit e2b858f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎images/builder/Dockerfile‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ FROM docker.io/hadolint/hadolint:v2.12.0-alpine@sha256:7dba9a9f1a0350f6d021fb2f6
2424
FROM cgr.dev/chainguard/wolfi-base:latest as wolfi
2525

2626
# update: datasource=github-tags depName=kubernetes-sigs/cluster-api
27-
ARG CLUSTERCTL_VERSION="v1.6.3"
27+
ENV CLUSTERCTL_VERSION="v1.6.3"
2828
# update: datasource=github-tags depName=golangci/golangci-lint
2929
ENV GOLANGCI_VERSION="v1.57.2"
3030
# update: datasource=github-tags depName=kubernetes-sigs/kind
31-
ARG KIND_VERSION="v0.22.0"
31+
ENV KIND_VERSION="v0.22.0"
3232
# update: datasource=github-tags depName=kubernetes/kubernetes
3333
ARG KUBECTL_VERSION="v1.27.3"
3434
# update: datasource=github-tags depName=kubernetes-sigs/kustomize extractVersion=^kustomize\/v(?<version>.+)$
35-
ARG KUSTOMIZE_VERSION="v5.3.0"
35+
ENV KUSTOMIZE_VERSION="v5.3.0"
3636
# update: datasource=github-tags depName=aquasecurity/trivy
37-
ARG TRIVY_VERSION="v0.49.1"
37+
ENV TRIVY_VERSION="v0.49.1"
3838
# update: datasource=github-tags depName=kubernetes-sigs/controller-tools
39-
ARG CONTROLLER_GEN_VERSION="v0.14.0"
39+
ENV CONTROLLER_GEN_VERSION="v0.14.0"
4040

4141
# hadolint ignore=DL3018
4242
RUN apk add -U --no-cache \

0 commit comments

Comments
 (0)