basic debian docs

This commit is contained in:
Niko Kivel
2021-03-19 10:21:23 +01:00
parent 523677a93b
commit 41b3313f7c
2 changed files with 43 additions and 0 deletions

View File

@@ -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

View File

@@ -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
```