From 0db63227b8e867dfa86fb0e4ab09ed1137263cb2 Mon Sep 17 00:00:00 2001 From: hossnys Date: Mon, 23 Sep 2024 16:14:29 +0300 Subject: [PATCH] update k3s version to 1.31.0 with 24.04 base image --- tfgrid3/k3s/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tfgrid3/k3s/Dockerfile b/tfgrid3/k3s/Dockerfile index 97dc4a94..e3324533 100644 --- a/tfgrid3/k3s/Dockerfile +++ b/tfgrid3/k3s/Dockerfile @@ -1,9 +1,9 @@ -FROM ubuntu:20.04 +FROM ubuntu:24.04 RUN export DEBIAN_FRONTEND=noninteractive && apt-get -qy update && \ apt-get -qy install wget ssh iproute2 ntp && \ - wget --progress=bar:force:noscroll -O /sbin/k3s https://github.com/k3s-io/k3s/releases/download/v1.30.0+k3s1/k3s && \ + wget --progress=bar:force:noscroll -O /sbin/k3s https://github.com/k3s-io/k3s/releases/download/v1.31.0+k3s1/k3s && \ chmod +x /sbin/k3s && \ - wget --progress=bar:force:noscroll -O /sbin/kubectl https://dl.k8s.io/release/v1.30.0/bin/linux/amd64/kubectl && \ + wget --progress=bar:force:noscroll -O /sbin/kubectl https://dl.k8s.io/release/v1.31.0/bin/linux/amd64/kubectl && \ chmod +x /sbin/kubectl && \ wget --progress=bar:force:noscroll -O /sbin/zinit https://github.com/threefoldtech/zinit/releases/download/v0.2.14/zinit && \ chmod +x /sbin/zinit && \ @@ -16,4 +16,4 @@ COPY scripts /scripts RUN chmod +x /scripts/* COPY manifests /var/lib/rancher/k3s/server/manifests/ -ENTRYPOINT [ "zinit", "init" ] \ No newline at end of file +ENTRYPOINT [ "zinit", "init" ]