Skip to content

Commit

Permalink
install using dnf
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius committed Aug 5, 2024
1 parent 4b2139d commit 593d68f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ ENV LC_ALL C.UTF-8

RUN \
yum update --security -y && \
yum install -y langpacks-en java-${JAVA_MAJOR}-openjdk-headless which && \
yum install -y langpacks-en java-${JAVA_MAJOR}-openjdk-headless && \
dnf install which && \
yum clean all && rm -rf /var/cache/yum

FROM rhlike AS rockylinux8
Expand Down

0 comments on commit 593d68f

Please sign in to comment.