Skip to content

Commit

Permalink
Add upcoming Fedora 40 (#111)
Browse files Browse the repository at this point in the history
Images are now up

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Oct 15, 2023
1 parent 5bec611 commit 4038dda
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- "fedora-37"
- "fedora-38"
- "fedora-39"
- "fedora-40"
- "fedora-latest"
- "opensuse-leap-15"
- "opensuse-leap-15.3"
Expand Down
68 changes: 68 additions & 0 deletions fedora-40/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
FROM fedora:39
LABEL maintainer="[email protected]"
ARG BUILD_DATE
ARG VCS_REF

LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.build-date=$BUILD_DATE
LABEL org.label-schema.name="test-kitchen/dokken-images"
LABEL org.label-schema.description="A Docker container for testing Fedora 39"
LABEL org.label-schema.vcs-url="https://github.com/test-kitchen/dokken-images"
LABEL org.label-schema.vcs-ref=$VCS_REF
LABEL org.label-schema.vendor="test-kitchen"

# hadolint ignore=DL3041
RUN mkdir /var/cache/libdnf5 && \
dnf -y install \
binutils \
ca-certificates \
cronie \
curl \
dmidecode \
ethtool \
file \
fipscheck \
gnupg2 \
hostname \
initscripts \
iproute \
iptables \
iputils \
less \
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/* && \
# Don't start any optional services.
find /etc/systemd/system \
/lib/systemd/system \
-path '*.wants/*' \
\( -name '*getty*' \
-or -name '*systemd-logind*' \
-or -name '*systemd-vconsole-setup*' \
-or -name '*systemd-readahead*' \
-or -name '*kdump*' \
-or -name '*dnf-makecache*' \
-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

CMD [ "/usr/lib/systemd/systemd" ]

0 comments on commit 4038dda

Please sign in to comment.