2021-03-17 13:23:31 +01:00
|
|
|
# Defines the tag for OBS and build script builds:
|
2021-03-24 13:20:08 +01:00
|
|
|
#!BuildTag: opensuse/openjdk:15
|
|
|
|
#!BuildTag: opensuse/openjdk:%%PKG_VERSION%%
|
|
|
|
#!BuildTag: opensuse/openjdk:%%PKG_VERSION%%.%RELEASE%
|
2021-03-17 13:23:31 +01:00
|
|
|
|
|
|
|
FROM opensuse/tumbleweed
|
|
|
|
|
|
|
|
# labelprefix=org.opensuse.java-devel
|
|
|
|
PREFIXEDLABEL org.opencontainers.image.title="Java 15 development container"
|
|
|
|
PREFIXEDLABEL org.opencontainers.image.description="Environment for Java 15 development"
|
|
|
|
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
|
|
|
|
PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
|
|
|
|
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
|
2021-03-24 13:20:08 +01:00
|
|
|
PREFIXEDLABEL org.opensuse.reference="registry.opensuse.org/opensuse/openjdk:%%PKG_VERSION%%.%RELEASE%"
|
2021-03-17 13:23:31 +01:00
|
|
|
|
|
|
|
# Work around https://github.com/openSUSE/obs-build/issues/487
|
|
|
|
RUN zypper install -y openSUSE-release-appliance-docker
|
|
|
|
|
|
|
|
# Development packages
|
|
|
|
RUN zypper install -y --no-recommends java-15-openjdk-devel maven git-core
|
|
|
|
|
2021-03-19 15:36:19 +01:00
|
|
|
ENTRYPOINT [ "/bin/bash" ]
|