File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM debian:trixie-20251229-slim AS prod
22ARG TARGETPLATFORM
3- RUN /sbin/ useradd --home /home/cfu --shell /bin/bash cfu
3+ RUN useradd --home /home/cfu --shell /bin/bash cfu
44COPY --chown=cfu --chmod=775 cf-deploy-kubernetes.sh /cf-deploy-kubernetes
55COPY --chown=cfu --chmod=775 template.sh /template.sh
66COPY --from=busybox:1.37.0-glibc /bin/busybox /usr/bin/busybox
77RUN busybox --install
88# ⚠️ We support 3 most recent minor versions: https://kubernetes.io/releases/
99# Please update `./cf-deploy-kubernetes.sh` accordingly.
10- ADD --chown=cfu --chmod=775 https://dl.k8s.io/release/v1.34.3 /bin/${TARGETPLATFORM} /kubectl /usr/local/bin/kubectl1.34
11- ADD --chown=cfu --chmod=775 https://dl.k8s.io/release/v1.33.7 /bin/${TARGETPLATFORM} /kubectl /usr/local/bin/kubectl1.33
12- ADD --chown=cfu --chmod=775 https://dl.k8s.io/release/v1.32.11 /bin/${TARGETPLATFORM} /kubectl /usr/local/bin/kubectl1.32
10+ COPY --chown=cfu --chmod=775 --from=octopusdeploy/dhi-kubectl:1.34-debian13 /usr/local /bin/kubectl /usr/local/bin/kubectl1.34
11+ COPY --chown=cfu --chmod=775 --from=octopusdeploy/dhi-kubectl:1.33-debian13 /usr/local /bin/kubectl /usr/local/bin/kubectl1.33
12+ COPY --chown=cfu --chmod=775 --from=octopusdeploy/dhi-kubectl:1.32-debian13 /usr/local /bin/kubectl /usr/local/bin/kubectl1.32
1313# ⚠️ Defaults to the latest version. Please update with new versions as needed.
1414RUN ln -s /usr/local/bin/kubectl1.34 /usr/local/bin/kubectl
1515
Original file line number Diff line number Diff line change 1- version : 17.0.1
1+ version : 17.0.2
You can’t perform that action at this time.
0 commit comments