Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openjdk-17-devel-image for 
openSUSE:Factory checked in at 2024-07-11 20:33:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openjdk-17-devel-image (Old)
 and      /work/SRC/openSUSE:Factory/.openjdk-17-devel-image.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openjdk-17-devel-image"

Thu Jul 11 20:33:12 2024 rev:13 rq:1186794 version:unknown

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/openjdk-17-devel-image/openjdk-17-devel-image.changes
    2024-06-28 15:52:22.857663331 +0200
+++ 
/work/SRC/openSUSE:Factory/.openjdk-17-devel-image.new.17339/openjdk-17-devel-image.changes
 2024-07-11 20:33:54.494459599 +0200
@@ -1,0 +2,5 @@
+Thu Jul 11 08:17:40 UTC 2024 - Alexandre Vicenzi <alexandre.vice...@suse.com>
+
+- extend README.md
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ README.md ++++++
--- /var/tmp/diff_new_pack.BkQf7h/_old  2024-07-11 20:33:54.974476955 +0200
+++ /var/tmp/diff_new_pack.BkQf7h/_new  2024-07-11 20:33:54.978477099 +0200
@@ -1,7 +1,62 @@
-# The openSUSE Tumbleweed BCI OpenJDK 17 development container image
+# OpenJDK 17 development container image
+
 ![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)
 
-OpenJDK 17 development container based on the openSUSE Tumbleweed Base 
Container Image.
+## Description
+
+[OpenJDK](https://openjdk.org/) (Open Java Development Kit) is a free and open 
source implementation of the Java Platform, Standard Edition (Java SE). OpenJDK 
is the official reference implementation of Java SE since version 7.
+
+The OpenJDK development image is intended to be used as a build environment. 
For runtime, use the OpenJDK runtime image.
+
+## Usage
+
+The default command for the image is the Java Shell tool (JShell).
+
+```ShellSession
+$ podman run -it --rm registry.opensuse.org/opensuse/bci/openjdk-devel:17
+jshell> /help
+```
+
+To compile and deploy an application, copy the sources and build the binary:
+
+```Dockerfile
+# Build the application using the OpenJDK development image
+FROM registry.opensuse.org/opensuse/bci/openjdk-devel:17 as build
+
+WORKDIR /app
+
+COPY . ./
+
+RUN javac Hello.java
+
+# Bundle the application into OpenJDK runtime image
+FROM registry.suse.com/bci/openjdk:17
+
+WORKDIR /app
+
+COPY --from=build /app/Hello.class /app
+
+CMD ["java", "Hello"]
+```
+
+Build and run the container image:
+
+```ShellSession
+$ podman build -t my-java-app .
+$ podman run -it --rm my-java-app
+```
+
+There are situations, where you don't want to run an application inside a 
container.
+
+To compile the application, without running it inside a container instance, 
use the following command:
+
+```ShellSession
+$ podman run --rm -v "$PWD":/app:Z -w /app 
registry.opensuse.org/opensuse/bci/openjdk-devel:17 javac Hello.java
+```
+
+## Additional tools
+
+The OpenJDK 17 development image includes [Git](https://git-scm.com/) and 
[Apache Maven](https://maven.apache.org/). [Apache 
Ant](https://ant.apache.org/) is available in the repositories.
 
 ## Licensing
 

Reply via email to