Skip to content

Commit

Permalink
Merge pull request #299 from threefoldtech/development_k3s_1.31.0
Browse files Browse the repository at this point in the history
update k3s version to 1.31.0 with 24.04  as base image
  • Loading branch information
hossnys authored Sep 25, 2024
2 parents 1243586 + 0db6322 commit 200e226
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tfgrid3/k3s/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand All @@ -16,4 +16,4 @@ COPY scripts /scripts
RUN chmod +x /scripts/*
COPY manifests /var/lib/rancher/k3s/server/manifests/

ENTRYPOINT [ "zinit", "init" ]
ENTRYPOINT [ "zinit", "init" ]

0 comments on commit 200e226

Please sign in to comment.