-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67dd2f6
commit 8c952f8
Showing
5 changed files
with
75 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Polly.toml | ||
test/ |
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,64 @@ | ||
ARG CONTAINER_REGISTRY=quay.io | ||
FROM $CONTAINER_REGISTRY/centos/centos:stream9 | ||
|
||
LABEL \ | ||
org.opencontainers.image.source="https://github.com/polymathrobotics/oci" \ | ||
org.opencontainers.image.licenses="Apache-2.0" \ | ||
org.opencontainers.image.description="CentOS Stream 9 image for kitchen-dokken" | ||
|
||
# NOTE: CentOS Stream 9 is still under heavy development | ||
# hadolint ignore=DL3041 | ||
RUN <<EOF | ||
dnf --allowerasing -y install \ | ||
binutils \ | ||
ca-certificates \ | ||
cronie \ | ||
curl \ | ||
dmidecode \ | ||
e2fsprogs \ | ||
ethtool \ | ||
file \ | ||
glibc-langpack-en \ | ||
gnupg2 \ | ||
hostname \ | ||
initscripts \ | ||
iproute \ | ||
iptables \ | ||
iputils \ | ||
lsof \ | ||
nc \ | ||
net-tools \ | ||
nmap \ | ||
openssl \ | ||
passwd \ | ||
procps \ | ||
strace \ | ||
sudo \ | ||
systemd-sysv \ | ||
systemd-udev \ | ||
tcpdump \ | ||
telnet \ | ||
util-linux \ | ||
vim-minimal \ | ||
wget \ | ||
libxcrypt-compat \ | ||
which | ||
dnf upgrade -y | ||
dnf clean all | ||
rm -rf /var/log/* | ||
find /etc/systemd/system \ | ||
/lib/systemd/system \ | ||
-path '*.wants/*' \ | ||
\( -name '*getty*' \ | ||
-or -name '*dnf-makecache*' \ | ||
-or -name '*kdump*' \ | ||
-or -name '*systemd-logind*' \ | ||
-or -name '*systemd-vconsole-setup*' \ | ||
-or -name '*systemd-readahead*' \ | ||
-or -name '*udev*' \) \ | ||
-exec rm -v {} \; | ||
systemctl set-default multi-user.target | ||
systemctl mask dev-hugepages.mount sys-fs-fuse-connections.mount network.service systemd-journal-flush.service | ||
EOF | ||
|
||
CMD [ "/usr/lib/systemd/systemd" ] |
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,5 @@ | ||
[container_image] | ||
name = "dokken-oraclelinux-9" | ||
tags = [ "latest" ] | ||
readme = "dokken/README.md" | ||
platforms=["linux/arm64","linux/amd64"] |
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,3 @@ | ||
describe file('/etc/os-release') do | ||
its('content') { should match(/Oracle Linux Server 9/) } | ||
end |