basic debian docs
This commit is contained in:
22
docs/docs/debian/Dockerfile
Normal file
22
docs/docs/debian/Dockerfile
Normal 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
|
||||
21
docs/docs/debian/debian.md
Normal file
21
docs/docs/debian/debian.md
Normal 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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user