[info=045ffae567449338b5921835ca69bb9f]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/openjdk-23-devel-image?expand=0&rev=37
This commit is contained in:
parent
de651b62e0
commit
fc3a80c54b
@ -48,5 +48,4 @@ ENV JAVA_HOME="/usr/lib64/jvm/java-23-openjdk-23"
|
||||
ENV JAVA_ROOT="/usr/lib64/jvm/java-23-openjdk-23"
|
||||
ENV JAVA_VERSION="23"
|
||||
|
||||
CMD ["/usr/bin/jshell"]
|
||||
RUN set -euo pipefail; [ -d $JAVA_HOME ]; [ -d $JAVA_BINDIR ]; [ -f "$JAVA_BINDIR/java" ] && [ -x "$JAVA_BINDIR/java" ]
|
||||
|
@ -10,13 +10,6 @@ The OpenJDK development image is intended to be used as a build environment. For
|
||||
|
||||
## 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:23
|
||||
jshell> /help
|
||||
```
|
||||
|
||||
To compile and deploy an application, copy the sources and build the binary:
|
||||
|
||||
```Dockerfile
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 1 14:29:37 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
|
||||
|
||||
- remove jshell as default command
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 1 14:13:48 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user