diff --git a/.github/workflows/container-publish.yml b/.github/workflows/container-publish.yml index 3980b5e..bad94f8 100644 --- a/.github/workflows/container-publish.yml +++ b/.github/workflows/container-publish.yml @@ -75,6 +75,7 @@ jobs: context: leap file: leap/Containerfile + permissions: contents: read packages: write diff --git a/debian/Containerfile-12.0 b/debian/Containerfile-12.0 new file mode 100644 index 0000000..cb089b5 --- /dev/null +++ b/debian/Containerfile-12.0 @@ -0,0 +1,30 @@ +FROM debian:12.0 + + +# ----- install vital packages ----- +RUN apt-get update && apt-get install -y --no-install-recommends \ + kmod \ + systemd-sysv \ + dbus \ + openssh-client \ + openssh-server \ + isc-dhcp-client \ + pciutils \ + strace \ + nfs-common \ + ethtool\ + ifupdown \ + linux-image-amd64 \ + ifmetric \ + netbase && \ + 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" ]