Skip to content

Commit

Permalink
feat: add java link in /usr/bin (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpa1977 authored Sep 25, 2024
1 parent ed0b304 commit cbd9db0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jre/Dockerfile.22.04
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbd9db0

Please sign in to comment.