Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3758988
D2173.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
998 B
Referenced Files
None
Subscribers
None
D2173.diff
View Options
diff --git a/Dockerfile b/Dockerfile
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM gizmotronic/oracle-java:8u161
+FROM openjdk:8u242-jre-slim
MAINTAINER gizmotronic@gmail.com
ENV OPENFIRE_VERSION=4.5.1 \
@@ -7,11 +7,12 @@
OPENFIRE_LOG_DIR=/var/log/openfire
RUN apt-get update \
- && DEBIAN_FRONTEND=noninteractive apt-get install -y sudo \
+ && DEBIAN_FRONTEND=noninteractive apt-get install -y sudo wget \
&& echo "Downloading openfire_${OPENFIRE_VERSION}_all.deb ..." \
&& wget --no-verbose "http://download.igniterealtime.org/openfire/openfire_${OPENFIRE_VERSION}_all.deb" -O /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
- && dpkg -i /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
+ && dpkg -i --force-depends /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
&& mv /var/lib/openfire/plugins/admin /usr/share/openfire/plugin-admin \
+ && ln -s /usr/local/openjdk-8/bin/java /usr/bin/java \
&& rm -rf openfire_${OPENFIRE_VERSION}_all.deb \
&& rm -rf /var/lib/apt/lists/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 14:48 (20 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2254199
Default Alt Text
D2173.diff (998 B)
Attached To
Mode
D2173: Switch to OpenJDK JRE
Attached
Detach File
Event Timeline
Log In to Comment