Commit b2778014 authored by Matt Pryor's avatar Matt Pryor
Browse files

Update java version to fix build error

parent 4a7bfddc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ ENV LC_ALL en_US.UTF-8

# Upgrade all existing packages
# Updating CACHE_BUST to the current time will bust the cache and force a rebuild
RUN CACHE_BUST="202005221033"; \
RUN CACHE_BUST="202011181451"; \
    yum makecache && yum upgrade -y && yum clean all

# Install ca-certificates and openssl
+1 −1
Original line number Diff line number Diff line
@@ -12,5 +12,5 @@ FROM ${ESGF_REPOSITORY_BASE}/base:${ESGF_IMAGES_VERSION}
USER root

RUN yum makecache && \
    yum install -y java-1.8.0-openjdk-devel-1.8.0.252.b09 && \
    yum install -y java-1.8.0-openjdk-devel-1.8.0.272.b10 && \
    yum clean all
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ FROM ${ESGF_REPOSITORY_BASE}/base:${ESGF_IMAGES_VERSION}
USER root

RUN yum makecache && \
    yum install -y java-1.8.0-openjdk-headless-1.8.0.252.b09 && \
    yum install -y java-1.8.0-openjdk-headless-1.8.0.272.b10 && \
    yum clean all

USER $ESGF_UID