Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use eclipse-temurin:21 as base image #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM openjdk:17-jdk-slim-bullseye
FROM eclipse-temurin:21

ENV OPENFIRE_VERSION=4.8.3 \
OPENFIRE_USER=openfire \
OPENFIRE_DATA_DIR=/var/lib/openfire \
OPENFIRE_LOG_DIR=/var/log/openfire

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y sudo wget fontconfig libfreetype6 \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y sudo wget fontconfig libfreetype6 adduser \
&& 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 --force-depends /tmp/openfire_${OPENFIRE_VERSION}_all.deb \
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,32 @@

- [Introduction](#introduction)
- [Contributing](#contributing)
- [Issues](#issues)
- [Announcements](../../issues/1)
- [Other issues](#other-issues)
- [Getting started](#getting-started)
- [Installation](#installation)
- [Quickstart](#quickstart)
- [Persistence](#persistence)
- [Java VM options](#java-vm-options)
- [Logs](#logs)
- [Maintenance](#maintenance)
- [Upgrading](#upgrading)
- [Shell Access](#shell-access)
- [References](#references)

# Introduction

This image is a fork of gizmotronic/openfire to keep an up-to-date version.

`Dockerfile` to create a [Docker](https://www.docker.com/) container image for [Openfire](http://www.igniterealtime.org/projects/openfire/).

Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.

This project is almost entirely identical to [sameersbn/openfire](/sameersbn/openfire).
This image is a fork of [gizmotronic/openfire](https://github.com/gizmotronic/docker-openfire), a fork of [sameersbn/openfire](https://github.com/sameersbn/docker-openfire) itself, to keep an up-to-date version.

## Contributing

If you find this image useful here's how you can help:

- Send a pull request with your awesome features and bug fixes
- Help users resolve their [issues](../../issues?q=is%3Aopen+is%3Aissue).
- Help users resolve their [issues](https://github.com/nasqueron/docker-openfire/issues).
- Support the development of this image with a [donation](http://www.damagehead.com/donate/)

## Other issues
Expand Down Expand Up @@ -146,5 +147,5 @@ docker exec -it openfire bash

# References

* http://www.igniterealtime.org/projects/openfire/
* https://www.igniterealtime.org/projects/openfire/
* https://library.linode.com/communications/xmpp/openfire/ubuntu-12.04-precise-pangolin
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ initialize_log_dir

# default behaviour is to launch openfire
if [[ -z ${1} ]]; then
exec start-stop-daemon --start --chuid "${OPENFIRE_USER}:${OPENFIRE_USER}" --exec /usr/bin/java -- \
exec start-stop-daemon --start --chuid "${OPENFIRE_USER}:${OPENFIRE_USER}" --exec ${JAVA_HOME}/bin/java -- \
-server \
-Dlog4j.configurationFile="${OPENFIRE_DATA_DIR}/conf/log4j2.xml" \
-DopenfireHome=/usr/share/openfire \
Expand Down