Skip to content
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
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM webcenter/openjdk-jre:8
FROM openjdk:11.0.11-jre
MAINTAINER Sebastien LANGOUREAUX <linuxworkgroup@hotmail.com>

ENV ACTIVEMQ_CONFIG_DIR /opt/activemq/conf.tmp
Expand All @@ -10,15 +10,18 @@ RUN apt-get update && \
update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX && \
locale-gen en_US.UTF-8 && \
dpkg-reconfigure locales && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* && \
apt-get clean && apt-get autoremove --yes

# Install wheel
RUN pip install wheel
# Install stompy
RUN pip install stomp.py

# Lauch app install
COPY assets/setup/ /app/setup/
RUN chmod +x /app/setup/install
RUN /app/setup/install
RUN chmod +x /app/setup/install && \
/app/setup/install


# Copy the app setting
Expand Down
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Table of Contents
- [Table of Contents](#table-of-contents)
- [Credits](#credits)
- [Introduction](#introduction)
- [Version](#version)
- [Changelog](Changelog.md)
- [Version](#version)
- [Hardware Requirements](#hardware-requirements)
- [CPU](#cpu)
- [Memory](#memory)
- [Storage](#storage)
- [CPU](#cpu)
- [Memory](#memory)
- [Storage](#storage)
- [Contributing](#contributing)
- [Issues](#issues)
- [Installation](#installation)
Expand All @@ -17,18 +18,22 @@
- [Data Store](#data-store)
- [BROKER](#broker)
- [Disk usage](#disk-usage)
- [JMX](#JMX)
- [JMX](#jmx)
- [Avaible Configuration Parameters](#avaible-configuration-parameters)
- [Advance configuration](#advance-configuration)
- [References](#references)

# Credits

This project has been forked from https://github.com/disaster37/activemq.git , the associated docker hub is webcenter/activemq
The goal of the fork is to have the same image but updated to 5.16.3

# Introduction

Dockerfile to build a ActiveMQ container image.

## Version

Current Version: **5.14.3**
Current Version: **5.16.3**

# Hardware Requirements

Expand Down Expand Up @@ -98,19 +103,19 @@ In your issue report please make sure you provide the following information:
Pull the image from the docker index. This is the recommended method of installation as it is easier to update image. These builds are performed by the **Docker Trusted Build** service.

```bash
docker pull webcenter/activemq:5.14.3
docker pull ilyesaj/activemq:5.16.3
```

You can also pull the `latest` tag which is built from the repository *HEAD*

```bash
docker pull webcenter/activemq:latest
docker pull ilyesaj/activemq:latest
```

Alternately you can build the image locally.

```bash
git clone https://github.com/disaster37/activemq.git
git clone https://github.com/ilyesAj/activemq.git
cd activemq
docker build --tag="$USER/activemq" .
```
Expand Down Expand Up @@ -146,7 +151,7 @@ docker run --name='activemq' -d \
-p 8161:8161 \
-p 61616:61616 \
-p 61613:61613 \
webcenter/activemq:5.14.3
ilyesaj/activemq:5.16.3
```


Expand Down
5 changes: 3 additions & 2 deletions assets/setup/install
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e


ACTIVEMQ_VERSION="5.14.3"
ACTIVEMQ_VERSION="5.16.3"
ACTIVEMQ_HOME="/opt/activemq"
SETUP_DIR="/app/setup"
LOG_DIR="/var/log"
Expand All @@ -27,7 +27,8 @@ chown -R activemq:activemq ${ACTIVEMQ_HOME}
chown -R activemq:activemq ${DATA_DIR}/activemq
chown -R activemq:activemq ${LOG_DIR}/activemq


# activate access to console https://issues.apache.org/jira/browse/AMQ-8018
sed -i "s|127.0.0.1|0.0.0.0|g" ${ACTIVEMQ_HOME}/conf/jetty.xml

# We setup logrotate for activemq
cat > /etc/logrotate.d/activemq <<EOF
Expand Down
2 changes: 1 addition & 1 deletion fig.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
activemq:
image: webcenter/activemq:5.14.3
image: webcenter/activemq:5.16.3
Empty file modified test/test_functionnal.sh
100644 → 100755
Empty file.