mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 18:59:09 +00:00
13 lines
379 B
Docker
13 lines
379 B
Docker
FROM alpine:3 AS builder
|
|
|
|
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
|
|
|
|
RUN apk add --no-cache gettext-envsubst
|
|
|
|
COPY --from=builder /usr/local/bin/kubectl /usr/local/bin/kubectl
|