Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ubuntu 24.04 support #64

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ jobs:
version: "12.0"
context: debian
file: debian/Containerfile-12.0
- os: ubuntu
version: "24.04"
context: ubuntu-24
file: ubuntu-24/Containerfile

permissions:
contents: read
Expand Down
33 changes: 33 additions & 0 deletions ubuntu-24/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM ubuntu:24.04


# ----- install vital packages -----
ENV DEBIAN_FRONTEND teletype
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-utils \
kmod \
systemd-sysv \
dbus \
openssh-client \
openssh-server \
isc-dhcp-client \
pciutils \
strace \
nfs-common \
ethtool\
linux-image-generic \
ifupdown \
ifmetric \
netbase && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*


COPY excludes /etc/warewulf/
COPY container_exit.sh /etc/warewulf/

CMD [ "/bin/echo", "-e", \
"This image is intended to be used with the Warewulf cluster management and", \
"\nprovisioning system.", \
"\n", \
"\nFor more information about Warewulf, visit https://warewulf.org" ]
6 changes: 6 additions & 0 deletions ubuntu-24/container_exit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
set -x
LANG=C
LC_CTYPE=C
export LANG LC_CTYPE
apt-get clean
1 change: 1 addition & 0 deletions ubuntu-24/excludes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/boot/
Loading