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

Support for openfire 4.0.1 #14

Open
wants to merge 5 commits into
base: master
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
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
FROM sameersbn/ubuntu:14.04.20160504
MAINTAINER sameer@damagehead.com

ENV OPENFIRE_VERSION=3.10.3 \
ENV OPENFIRE_VERSION=4.0.2 \
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 openjdk-7-jre \
&& apt-get install -y software-properties-common python-software-properties \
&& add-apt-repository ppa:openjdk-r/ppa \
&& apt-get update \
&& apt-get install -y openjdk-8-jre openjdk-7-jre \
&& update-java-alternatives --jre-headless -s java-1.8.0-openjdk-amd64 \
&& wget "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 \
&& mv /var/lib/openfire/plugins/admin /usr/share/openfire/plugin-admin \
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/openfire/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/openfire)

# sameersbn/openfire:3.10.3-10
# sameersbn/openfire:4.0.2-1

- [Introduction](#introduction)
- [Contributing](#contributing)
Expand Down Expand Up @@ -48,7 +48,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/openfire)

```bash
docker pull sameersbn/openfire:3.10.3-10
docker pull sameersbn/openfire:4.0.2-1
```

Alternatively you can build the image yourself.
Expand All @@ -65,7 +65,7 @@ Start Openfire using:
docker run --name openfire -d --restart=always \
--publish 9090:9090 --publish 5222:5222 --publish 7777:7777 \
--volume /srv/docker/openfire:/var/lib/openfire \
sameersbn/openfire:3.10.3-10
sameersbn/openfire:4.0.2-1
```

*Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)*
Expand Down Expand Up @@ -102,7 +102,7 @@ To upgrade to newer releases:
1. Download the updated Docker image:

```bash
docker pull sameersbn/openfire:3.10.3-10
docker pull sameersbn/openfire:4.0.2-1
```

2. Stop the currently running image:
Expand All @@ -122,7 +122,7 @@ To upgrade to newer releases:
```bash
docker run -name openfire -d \
[OPTIONS] \
sameersbn/openfire:3.10.3-10
sameersbn/openfire:4.0.2-1
```

## Shell Access
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.3-10
4.0.2-1
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Openfire:
image: sameersbn/openfire:3.10.3-10
image: sameersbn/openfire:4.0.2-1
ports:
- "9090:9090"
- "5222:5222"
Expand Down