-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add containers for Debian and particularly 12.0
- Loading branch information
1 parent
8616b32
commit 87242e5
Showing
6 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
* Ryan Thomson <[email protected]> | ||
* Brian Phan <[email protected]> | ||
* Simppa Äkäslompolo (@sjjamsa) | ||
* Carlos Felipe S Pinheiro <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM debian | ||
|
||
|
||
# ----- install vital packages ----- | ||
ENV DEBIAN_FRONTEND teletype | ||
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-$(dpkg --print-architecture) \ | ||
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM debian:12.0 | ||
|
||
|
||
# ----- install vital packages ----- | ||
ENV DEBIAN_FRONTEND teletype | ||
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-$(dpkg --print-architecture) \ | ||
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/boot/ |