diff --git a/java/Dockerfile b/java/Dockerfile index d442b682..1b62bd0d 100644 --- a/java/Dockerfile +++ b/java/Dockerfile @@ -14,8 +14,7 @@ ENV LC_ALL C.UTF-8 RUN \ yum update --security -y && \ - yum install -y langpacks-en java-${JAVA_MAJOR}-openjdk-headless && \ - dnf install -y which && \ + yum install -y langpacks-en java-${JAVA_MAJOR}-openjdk-headless which procps && \ yum clean all && rm -rf /var/cache/yum FROM rhlike AS rockylinux8