Skip to content

Commit

Permalink
OPSEXP-2239 review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
slohe1 committed Sep 20, 2023
1 parent 8e414ec commit 7ab618e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ ENV LC_ALL C.UTF-8

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

FROM rockylinux:9.2.20230513 AS rockylinux9
Expand All @@ -49,8 +48,7 @@ ENV LC_ALL C.UTF-8

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

FROM ${DISTRIB_NAME}${DISTRIB_MAJOR} AS JAVA_BASE_IMAGE
Expand Down

0 comments on commit 7ab618e

Please sign in to comment.