File Dockerfile of Package dockerfile-application-container
# Define the names/tags of the container
#!BuildTag: suse/example:latest suse/example:%PKG_VERSION% suse/example:%PKG_VERSION%.%RELEASE%
FROM suse/sle15:15.7
# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.example
PREFIXEDLABEL org.opencontainers.image.title="Example container"
PREFIXEDLABEL org.opencontainers.image.description="This contains vim-small %PKG_VERSION%"
PREFIXEDLABEL org.opensuse.reference="registry.suse.com/suse/example:%PKG_VERSION%.%RELEASE%"
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
# Workaround for https://github.com/openSUSE/obs-build/issues/487
RUN zypper --non-interactive in sles-release
# Fill the image with content
RUN zypper --non-interactive in vim-small