From cbd9db01a970e1dfa41ed087608d48476176564b Mon Sep 17 00:00:00 2001 From: Vladimir Petko Date: Thu, 26 Sep 2024 08:35:14 +1200 Subject: [PATCH] feat: add java link in /usr/bin (#424) --- jre/Dockerfile.22.04 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jre/Dockerfile.22.04 b/jre/Dockerfile.22.04 index 225b0b7..730affa 100644 --- a/jre/Dockerfile.22.04 +++ b/jre/Dockerfile.22.04 @@ -59,6 +59,9 @@ RUN install -d -m 0755 -o $UID -g $GID /rootfs/home/$USER \ RUN mkdir -p /rootfs/opt \ && cp -r /opt/java/ /rootfs/opt/java/ +WORKDIR /rootfs +RUN ln -s --relative opt/java/bin/java usr/bin/ + FROM scratch ARG USER ARG UID