Skip to content

Commit

Permalink
added tumbleweed container
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Goll <cgoll@suse.com>
  • Loading branch information
mslacken authored and anderbubble committed May 4, 2024
1 parent 4965dfb commit a1720d9
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
54 changes: 54 additions & 0 deletions tumbleweed/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
FROM opensuse/tumbleweed:latest
RUN zypper update -y \
&& zypper install -yt pattern \
base \
&& zypper install -y \
bash \
coreutils \
cpio \
cronie \
e2fsprogs \
ethtool \
filesystem \
findutils \
gawk \
grep \
gzip \
ipmitool \
iproute2 \
iputils \
kernel-default \
less \
net-tools \
nfs-client \
openssh-clients \
openssh-server \
pam \
pciutils \
psmisc \
rsync \
rsyslog \
sed \
strace \
sudo \
tar \
tcpdump \
timezone \
util-linux \
vim \
wget \
which \
wicked \
words \
zypper \
&& zypper clean \
&& systemctl enable sshd

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" ]
4 changes: 4 additions & 0 deletions tumbleweed/container_exit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
export LANG=C LC_CTYPE=C
set -x
zypper clean -a
3 changes: 3 additions & 0 deletions tumbleweed/excludes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/boot/
/usr/share/doc
/usr/share/man

0 comments on commit a1720d9

Please sign in to comment.