-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from rthomson/rockylinux-9-pinned-releases
Add rockylinux-9 container builds pinned to the 9.0 and 9.1 releases
- Loading branch information
Showing
12 changed files
with
179 additions
and
1 deletion.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM rockylinux:9 | ||
FROM docker.io/library/rockylinux:9 | ||
|
||
RUN dnf update -y \ | ||
&& dnf install -y --allowerasing \ | ||
|
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,59 @@ | ||
FROM docker.io/library/rockylinux:9.0 | ||
|
||
COPY Rocky-Vault-9.0-*.repo /etc/yum.repos.d | ||
|
||
RUN dnf update -y --disablerepo "*" --enablerepo *-vault-9.0 \ | ||
&& dnf install -y --disablerepo "*" --enablerepo *-vault-9.0 --allowerasing \ | ||
coreutils \ | ||
cpio \ | ||
dhclient \ | ||
e2fsprogs \ | ||
ethtool \ | ||
findutils \ | ||
initscripts \ | ||
ipmitool \ | ||
iproute \ | ||
kernel-core \ | ||
kernel-modules \ | ||
ncurses \ | ||
net-tools \ | ||
NetworkManager \ | ||
nfs-utils \ | ||
openssh-clients \ | ||
openssh-server \ | ||
pciutils \ | ||
policycoreutils-python-utils \ | ||
psmisc \ | ||
rsync \ | ||
rsyslog \ | ||
strace \ | ||
selinux-policy-targeted \ | ||
wget \ | ||
which \ | ||
words \ | ||
rdma-core \ | ||
&& dnf clean all | ||
|
||
RUN touch /etc/sysconfig/disable-deprecation-warnings | ||
|
||
# For SELinux enabled nodes: | ||
# The wwclient service fails to start on boot if appropriate SELinux file | ||
# context label is not set for /warewulf/wwclient. | ||
# Permanently assign bin_t fcontent label for wwclient binary that is | ||
# deployed by wwinit overlay because warewulf runs `restorecon -R /` on node | ||
# boot, clobbering any existing labels set in the overlay itself. | ||
# | ||
# WARNING: THE FOLLOWING RETURNS AN ERROR WITH libsemanage VERSIONS IN EL9 | ||
# PRIOR TO 3.3.3 SO WE FORCE A CLEAN EXIT CODE | ||
# See: https://github.com/SELinuxProject/selinux/issues/343 | ||
# | ||
RUN semanage fcontext -N -a -t bin_t /warewulf/wwclient || true | ||
|
||
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,55 @@ | ||
FROM docker.io/library/rockylinux:9.1 | ||
|
||
COPY Rocky-Static-9.1-*.repo /etc/yum.repos.d | ||
|
||
RUN dnf update -y --disablerepo "*" --enablerepo *-static-9.1 \ | ||
&& dnf install -y --disablerepo "*" --enablerepo *-static-9.1 --allowerasing \ | ||
coreutils \ | ||
cpio \ | ||
dhclient \ | ||
e2fsprogs \ | ||
ethtool \ | ||
findutils \ | ||
initscripts \ | ||
ipmitool \ | ||
iproute \ | ||
kernel-core \ | ||
kernel-modules \ | ||
ncurses \ | ||
net-tools \ | ||
NetworkManager \ | ||
nfs-utils \ | ||
openssh-clients \ | ||
openssh-server \ | ||
pciutils \ | ||
policycoreutils-python-utils \ | ||
psmisc \ | ||
rsync \ | ||
rsyslog \ | ||
strace \ | ||
selinux-policy-targeted \ | ||
wget \ | ||
which \ | ||
words \ | ||
rdma-core \ | ||
&& dnf clean all | ||
|
||
RUN touch /etc/sysconfig/disable-deprecation-warnings | ||
|
||
# For SELinux enabled nodes: | ||
# The wwclient service fails to start on boot if appropriate SELinux file | ||
# context label is not set for /warewulf/wwclient. | ||
# Permanently assign bin_t fcontent label for wwclient binary that is | ||
# deployed by wwinit overlay because warewulf runs `restorecon -R /` on node | ||
# boot, clobbering any existing labels set in the overlay itself. | ||
# | ||
RUN semanage fcontext -N -a -t bin_t /warewulf/wwclient | ||
|
||
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,7 @@ | ||
[appstream-static-9.1] | ||
name=Rocky Linux 9.1 - AppStream | ||
baseurl=http://dl.rockylinux.org/vault/rocky/9.1/AppStream/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=0 | ||
countme=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 |
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,7 @@ | ||
[baseos-static-9.1] | ||
name=Rocky Linux 9.1 - BaseOS | ||
baseurl=http://dl.rockylinux.org/vault/rocky/9.1/BaseOS/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=0 | ||
countme=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 |
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,7 @@ | ||
[baseos-static-9.1] | ||
name=Rocky Linux 9.1 - BaseOS | ||
baseurl=http://dl.rockylinux.org/vault/rocky/9.1/BaseOS/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=0 | ||
countme=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 |
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,7 @@ | ||
[extras-static-9.1] | ||
name=Rocky Linux 9.1 - Extras | ||
baseurl=http://dl.rockylinux.org/vault/rocky/9.1/extras/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=0 | ||
countme=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 |
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,7 @@ | ||
[appstream-vault-9.0] | ||
name=Rocky Linux 9.0 - AppStream | ||
baseurl=http://dl.rockylinux.org/vault/rocky/9.0/AppStream/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=0 | ||
countme=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 |
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,7 @@ | ||
[baseos-vault-9.0] | ||
name=Rocky Linux 9.0 - BaseOS | ||
baseurl=http://dl.rockylinux.org/vault/rocky/9.0/BaseOS/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=0 | ||
countme=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 |
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,7 @@ | ||
[crb-vault-9.0] | ||
name=Rocky Linux 9.0 - CRB | ||
baseurl=http://dl.rockylinux.org/vault/rocky/9.0/CRB/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=0 | ||
countme=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 |
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,7 @@ | ||
[extras-vault-9.0] | ||
name=Rocky Linux 9.0 - Extras | ||
baseurl=http://dl.rockylinux.org/vault/rocky/9.0/extras/$basearch/os/ | ||
gpgcheck=1 | ||
enabled=0 | ||
countme=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9 |