# Defines the tag for OBS and build script builds: #!BuildTag: opensuse/openjdk:15 #!BuildTag: opensuse/openjdk:%%PKG_VERSION%% #!BuildTag: opensuse/openjdk:%%PKG_VERSION%%.%RELEASE% FROM opensuse/tumbleweed # labelprefix=org.opensuse.openjdk 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%" PREFIXEDLABEL org.opensuse.reference="registry.opensuse.org/opensuse/openjdk:%%PKG_VERSION%%.%RELEASE%" # 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 ENTRYPOINT [ "/bin/bash" ]