Dockerfile in hetzner-k3s-0.5.0 vs Dockerfile in hetzner-k3s-0.5.1
- old
+ new
@@ -1,8 +1,11 @@
FROM ruby:3.1.0-alpine
RUN apk update --no-cache \
- && apk add build-base git openssh-client
+ && apk add build-base git openssh-client curl bash
+
+RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
+ && install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
COPY . .
RUN gem install hetzner-k3s