mirror of
https://github.com/luzifer-docker/openfire.git
synced 2024-12-20 20:21:19 +00:00
22 lines
616 B
Text
22 lines
616 B
Text
|
FROM alpine
|
||
|
|
||
|
LABEL maintainer Knut Ahlers <knut@ahlers.me>
|
||
|
|
||
|
ENV OPENFIRE_VERSION=4_2_1
|
||
|
|
||
|
RUN set -ex \
|
||
|
&& apk --no-cache add curl openjdk8 ca-certificates bash \
|
||
|
&& mkdir /opt \
|
||
|
&& curl -sSfL "https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_${OPENFIRE_VERSION}.tar.gz" | \
|
||
|
tar -xz -C /opt \
|
||
|
&& curl -sSfLo /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64 \
|
||
|
&& chmod +x /usr/local/bin/dumb-init
|
||
|
|
||
|
ADD start.sh /usr/local/bin/start.sh
|
||
|
|
||
|
EXPOSE 9090 9091 5222 5223 5269
|
||
|
VOLUME ["/data"]
|
||
|
|
||
|
ENTRYPOINT ["/usr/local/bin/start.sh"]
|
||
|
|