This commit is contained in:
parent
96f7aadd5a
commit
c1c9650f47
@ -3,9 +3,9 @@ FROM alpine:3.19
|
||||
RUN apk add --no-cache curl bash ca-certificates
|
||||
|
||||
# Install kubectl
|
||||
RUN curl -LO "https://dl.k8s.io/release/$(curl -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
|
||||
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
|
||||
rm kubectl
|
||||
RUN sh -c 'curl -LO "https://dl.k8s.io/release/$(curl -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
|
||||
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && rm kubectl'
|
||||
|
||||
|
||||
# Install Helm
|
||||
RUN curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user