@@ -8,13 +8,14 @@ ARG URL=https://download.opensuse.org/repositories
88
99FROM opensuse/leap:${OPENSUSE_VERSION} AS build
1010
11+
1112# Add the Documentation:Tools OBS repository and refresh
1213RUN zypper ar -f ${URL}/Documentation:/Tools/'$releasever' Documentation_Tools ; \
1314 zypper --gpg-auto-import-keys --non-interactive refresh
1415
1516# Now install all required packages (from default + custom repo)
1617RUN zypper --non-interactive install --no-recommends \
17- curl ca-certificates sgml-skel gzip gpg2 \
18+ curl ca-certificates sgml-skel gzip optipng \
1819 google-noto-sans-jp-regular-fonts google-noto-sans-jp-bold-fonts \
1920 google-noto-sans-sc-regular-fonts google-noto-sans-sc-bold-fonts \
2021 google-noto-sans-kr-regular-fonts google-noto-sans-kr-bold-fonts \
@@ -57,13 +58,29 @@ RUN rpm --erase --nodeps adwaita-icon-theme \
5758 hicolor-icon-theme libreoffice-branding-openSUSE \
5859 libreoffice-icon-themes || true
5960
61+
6062# ##############################################################################
6163# 2. Runtime stage: Minimal image with only daps and its dependencies
6264# ##############################################################################
6365FROM opensuse/leap:${OPENSUSE_VERSION}
6466
65- LABEL maintainer="Tom Schraitle"
67+ ARG DAPS_VERSION=4.0beta10
68+ ARG GEEKODOC_VERSION=2.3.1.1
69+ ARG SUSE_XSL_VERSION=2.95.12
70+
71+ LABEL org.opencontainers.image.vendor="openSUSE"
72+ LABEL org.opencontainers.image.title="DAPS CI Image"
73+ LABEL org.opencontainers.image.description="Minimal openSUSE Leap-based image for DAPS and documentation building (used in CI/CD)."
74+ LABEL org.opencontainers.image.version="1.0.0"
75+ LABEL org.opencontainers.image.url="https://github.com/openSUSE/docbuild"
6676LABEL org.opencontainers.image.source="https://github.com/openSUSE/docbuild"
77+ LABEL org.opencontainers.image.licenses="GPL-2.0-or-later"
78+ LABEL org.opencontainers.image.authors=
"Tom Schraitle <[email protected] >" 79+ # Custom component labels
80+ LABEL com.opensuse.docbuild.daps.version="${DAPS_VERSION}"
81+ LABEL com.opensuse.docbuild.suse-xsl-stylesheets="${SUSE_XSL_VERSION}"
82+ LABEL com.opensuse.docbuild.geekodoc.version="${GEEKODOC_VERSION}"
83+
6784
6885# Copy daps and suse-xsl-stylesheets from build stage
6986COPY --from=build /usr /usr
0 commit comments