File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11FROM alpine:3.21 AS builder
22
3+
34RUN apk update && apk add curl
45
56RUN export ARCH=$([[ "$(uname -m)" == "aarch64" ]] && echo "arm64" || echo "amd64" ) && \
67 mkdir -p /tmp/kubectl-versions && cd /tmp/kubectl-versions && \
78 curl -o kubectl1.32 -L https://storage.googleapis.com/kubernetes-release/release/v1.32.0/bin/linux/${ARCH}/kubectl
89
9- FROM debian:bullseye-slim
10+
11+ FROM debian:bookworm-20240812-slim
12+
1013
1114RUN apt-get update -y && \
1215 apt-get upgrade && \
1316 apt-get install busybox -y && \
1417 ln -s /bin/busybox /usr/bin/[[
1518
16- RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/bash cfu
1719
18- # RUN apt update && apt upgrade && apt install bash # THIS IS NOT REQUIRED. BASH IS ALREADY INCLUDED IN BULLSEYE
20+ RUN adduser --gecos "" --disabled-password --home /home/cfu --shell /bin/ bash cfu
1921
2022# copy all versions of kubectl to switch between them later.
2123COPY --chown=cfu --chmod=775 --from=builder /tmp/kubectl-versions/* /usr/local/bin/
Original file line number Diff line number Diff line change @@ -105,4 +105,4 @@ kubectl --context "${KUBECONTEXT}" --namespace "${KUBERNETES_NAMESPACE}" $KUBECT
105105if [ -n " $DEPLOYMENT_NAME " ]; then
106106 echo " ---> Waiting for a successful deployment/${DEPLOYMENT_NAME} status to namespace ${KUBERNETES_NAMESPACE} ..."
107107 timeout -s SIGTERM $KUBERNETES_DEPLOYMENT_TIMEOUT kubectl --context " ${KUBECONTEXT} " --namespace " ${KUBERNETES_NAMESPACE} " rollout status deployment/" ${DEPLOYMENT_NAME} " || fatal " Deployment Failed"
108- fi
108+ fi
You can’t perform that action at this time.
0 commit comments