mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
Update Dockerfile.kubectl (#89)
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
FROM alpine:3 AS builder
|
||||
|
||||
RUN apk update && apk add curl
|
||||
RUN apk update && apk add curl bash
|
||||
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
|
||||
chmod +x kubectl && \
|
||||
mv kubectl /usr/local/bin/kubectl
|
||||
|
||||
FROM alpine:3 AS final
|
||||
|
||||
COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/kubectl
|
||||
COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/kubectl
|
||||
|
||||
Reference in New Issue
Block a user