Page MenuHomeDevCentral

D2173.diff
No OneTemporary

D2173.diff

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

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)

Event Timeline