Skip to content

Commit 57e7115

Browse files
committed
Upgrade JRE to OpenJDK 11 LTS
Summary: Openfire supports Java 11 since 4.5 in addition to Java 8. Test Plan: Tested on docker-001 Reviewers: dereckson Reviewed By: dereckson Differential Revision: https://devcentral.nasqueron.org/D2358
1 parent 395b15b commit 57e7115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:8u242-jre-slim
1+
FROM openjdk:11-jre-slim
22

33
ENV OPENFIRE_VERSION=4.5.4 \
44
OPENFIRE_USER=openfire \
@@ -11,7 +11,7 @@ RUN apt-get update \
1111
&& wget --no-verbose "http://download.igniterealtime.org/openfire/openfire_${OPENFIRE_VERSION}_all.deb" -O /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
1212
&& dpkg -i --force-depends /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
1313
&& mv /var/lib/openfire/plugins/admin /usr/share/openfire/plugin-admin \
14-
&& ln -s /usr/local/openjdk-8/bin/java /usr/bin/java \
14+
&& ln -s /usr/local/openjdk-11/bin/java /usr/bin/java \
1515
&& rm -rf openfire_${OPENFIRE_VERSION}_all.deb \
1616
&& rm -rf /var/lib/apt/lists/*
1717

0 commit comments

Comments
 (0)