Skip to content

Commit

Permalink
Add an image for openSUSE 15.5 (#98)
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Aug 21, 2023
1 parent 552c3af commit 482cff2
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- "opensuse-leap-15"
- "opensuse-leap-15.3"
- "opensuse-leap-15.4"
- "opensuse-leap-15.5"
- "rockylinux-8"
- "rockylinux-9"
- "oraclelinux-7"
Expand Down
2 changes: 1 addition & 1 deletion opensuse-leap-15.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.3"
LABEL org.label-schema.description="A Docker container for testing openSUSE Leap 15.3"
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"
Expand Down
2 changes: 1 addition & 1 deletion opensuse-leap-15.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.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"
Expand Down
66 changes: 66 additions & 0 deletions opensuse-leap-15.5/Dockerfile
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" ]
2 changes: 1 addition & 1 deletion opensuse-leap-15/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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"
LABEL org.label-schema.description="A Docker container for testing openSUSE Leap 15"
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"
Expand Down

0 comments on commit 482cff2

Please sign in to comment.