Comments from jdowland@redhat.com's pull request:
BASEIMG=ubi9/openjdk-21:1.18 # substitute appropriately
APPSRC=https://github.com/rh-openjdk/openjdk-container-test-applications.git
CONTEXTDIR=spring-boot-sample-simple
rev=master
OUTIMG=s2i-out
s2i build --pull-policy never --context-dir=$CONTEXTDIR -r=${rev} \
$APPSRC \
$BASEIMG \
$OUTIMG
docker run --rm -ti $OUTIMG stat /tmp/hsperfdata_default
bad output:
…
File: /tmp/hsperfdata_default
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 4fh/79d Inode: 663433 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 185/ default) Gid: ( 0/ root)
Access: 2025-02-17 14:30:28.691995151 +0000
Modify: 2025-02-17 14:30:27.000000000 +0000
Change: 2025-02-17 14:30:28.671994155 +0000
Birth: 2025-02-17 14:30:28.667993957 +0000
Good output:
…
No such file or directory
Code merged and running against the product versions now.