-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an image for openSUSE 15.5 (#98)
Signed-off-by: Tim Smith <[email protected]>
- Loading branch information
Showing
5 changed files
with
70 additions
and
3 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
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,66 @@ | ||
FROM opensuse/leap:15.4 | ||
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 opensuse-leap-15.4" | ||
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=DL3037 | ||
RUN zypper update -y && \ | ||
zypper install -y \ | ||
aaa_base \ | ||
aaa_base-extras \ | ||
ca-certificates \ | ||
cron \ | ||
curl \ | ||
dmidecode \ | ||
e2fsprogs \ | ||
file \ | ||
findutils \ | ||
glibc-locale \ | ||
grep \ | ||
gzip \ | ||
hostname \ | ||
insserv-compat \ | ||
iproute2 \ | ||
iputils \ | ||
less \ | ||
lsb-release \ | ||
ncurses-devel \ | ||
net-tools \ | ||
netcat \ | ||
perl-Getopt-Long-Descriptive \ | ||
sudo \ | ||
systemd \ | ||
systemd-sysvinit \ | ||
sysvinit-tools \ | ||
tar \ | ||
time \ | ||
timezone \ | ||
traceroute \ | ||
util-linux \ | ||
vim \ | ||
wget \ | ||
which && \ | ||
zypper clean && \ | ||
rm -rf /var/log/* && \ | ||
# Don't start any optional services. | ||
find /etc/systemd/system \ | ||
/usr/lib/systemd/system \ | ||
-path '*.wants/*' \ | ||
\( -name '*getty*' \ | ||
-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 | ||
|
||
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