File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 - " oraclelinux-7"
3939 - " oraclelinux-8"
4040 - " oraclelinux-9"
41+ - " oraclelinux-10"
4142 - " ubuntu-16.04"
4243 - " ubuntu-18.04"
4344 - " ubuntu-20.04"
Original file line number Diff line number Diff line change 1+ FROM oraclelinux:10
2+ LABEL maintainer="hemminger@hotmail.com"
3+ ARG BUILD_DATE
4+ ARG VCS_REF
5+
6+ LABEL org.opencontainers.image.created=$BUILD_DATE
7+ LABEL org.opencontainers.image.title="test-kitchen/dokken-images"
8+ LABEL org.opencontainers.image.description="A Docker container for testing oraclelinux-9"
9+ LABEL org.opencontainers.image.source="https://github.com/test-kitchen/dokken-images"
10+ LABEL org.opencontainers.image.revision=$VCS_REF
11+ LABEL org.opencontainers.image.vendor="test-kitchen"
12+ LABEL org.opencontainers.image.licenses="Apache-2.0"
13+
14+ # hadolint ignore=DL3041
15+ RUN dnf -y install \
16+ at \
17+ binutils \
18+ bc \
19+ ca-certificates \
20+ cronie \
21+ crontabs \
22+ curl \
23+ diffutils \
24+ dmidecode \
25+ e2fsprogs \
26+ ed \
27+ ethtool \
28+ file \
29+ gettext \
30+ glibc-langpack-en \
31+ gnupg2 \
32+ hostname \
33+ initscripts \
34+ iproute \
35+ iptables \
36+ iputils \
37+ lsof \
38+ nc \
39+ net-tools \
40+ nmap \
41+ make \
42+ man-db \
43+ openssl \
44+ patch \
45+ passwd \
46+ procps \
47+ procps-ng \
48+ psmisc \
49+ policycoreutils \
50+ strace \
51+ sudo \
52+ systemd-sysv \
53+ systemd-udev \
54+ tcpdump \
55+ telnet \
56+ util-linux \
57+ vim-minimal \
58+ time \
59+ wget \
60+ libxcrypt-compat \
61+ which && \
62+ dnf upgrade -y && \
63+ dnf clean all && \
64+ rm -rf /var/log/* && \
65+ # Don't start any optional services.
66+ find /etc/systemd/system \
67+ /lib/systemd/system \
68+ -path '*.wants/*' \
69+ \( -name '*getty*' \
70+ -or -name '*dnf-makecache*' \
71+ -or -name '*sshd*' \
72+ -or -name '*systemd-logind*' \
73+ -or -name '*systemd-vconsole-setup*' \
74+ -or -name '*systemd-readahead*' \
75+ -or -name '*udev*' \) \
76+ -exec rm -v {} \; && \
77+ systemctl set-default multi-user.target && \
78+ systemctl mask dev-hugepages.mount sys-fs-fuse-connections.mount network.service systemd-journal-flush.service
79+
80+ CMD [ "/usr/lib/systemd/systemd" ]
You can’t perform that action at this time.
0 commit comments