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" ]