diff --git a/docs/docs/debian/Dockerfile b/docs/docs/debian/Dockerfile new file mode 100644 index 00000000..32f7f00c --- /dev/null +++ b/docs/docs/debian/Dockerfile @@ -0,0 +1,22 @@ +FROM debian:buster-slim + +RUN apt-get update + +RUN apt-get -y install \ + kmod \ + systemd-sysv \ + openssh-server \ + openssh-client \ + isc-dhcp-client \ + pciutils \ + strace \ + nfs-common \ + ethtool\ + ifupdown + +RUN apt-get -y install --no-install-recommends \ + linux-image-amd64 + +RUN rm -rf /var/lib/apt/lists/* + +RUN echo "root:r00tr00t" | chpasswd diff --git a/docs/docs/debian/debian.md b/docs/docs/debian/debian.md new file mode 100644 index 00000000..6bf5622d --- /dev/null +++ b/docs/docs/debian/debian.md @@ -0,0 +1,21 @@ +# Debian, Buster + +## Docker container + +### build and push + +> PSI specific, change for upstream + +change into your docker build directory +```bash +docker build -t docker.psi.ch:5000/debian:buster-slim . +docker push docker.psi.ch:5000/debian:buster-slim +``` + +### import docker container into warewulf + +```bash +wwctl container import docker://docker.psi.ch:5000/debian:buster-slim debian-10:slim +``` + +