-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
232 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
#ActiveMQ 5.13.1 | ||
|
||
FROM webcenter/openjdk-jre:8 | ||
MAINTAINER Sebastien LANGOUREAUX <[email protected]> | ||
|
||
|
||
# Update distro and install some packages | ||
RUN apt-get update && \ | ||
apt-get upgrade -y && \ | ||
apt-get install curl -y && \ | ||
apt-get install vim curl -y && \ | ||
apt-get install supervisor -y && \ | ||
apt-get install logrotate -y && \ | ||
apt-get install locales -y && \ | ||
|
@@ -16,31 +14,33 @@ RUN apt-get update && \ | |
dpkg-reconfigure locales && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Copy the app setting | ||
COPY assets/init.py /app/init.py | ||
RUN chmod 755 /app/init.py | ||
|
||
|
||
# Lauch app install | ||
COPY assets/setup/ /app/setup/ | ||
RUN chmod 755 /app/setup/install | ||
RUN chmod +x /app/setup/install | ||
RUN /app/setup/install | ||
|
||
|
||
# Copy the app setting | ||
COPY assets/init.py /app/init.py | ||
COPY assets/run.sh /app/run.sh | ||
RUN chmod +x /app/init.py | ||
RUN chmod +x /app/run.sh | ||
|
||
# Expose all port | ||
EXPOSE 8161 | ||
EXPOSE 61616 | ||
EXPOSE 8161 | ||
EXPOSE 61616 | ||
EXPOSE 5672 | ||
EXPOSE 61613 | ||
EXPOSE 1883 | ||
EXPOSE 1883 | ||
EXPOSE 61614 | ||
|
||
# Expose some folders | ||
VOLUME ["/data/activemq"] | ||
VOLUME ["/var/log/activemq"] | ||
VOLUME ["/opt/activemq/conf"] | ||
|
||
#WORKDIR /opt/activemq | ||
WORKDIR /opt/activemq | ||
|
||
#ENTRYPOINT ["/app/init"] | ||
CMD ["/app/init.py", "start"] | ||
|
||
CMD ["/app/run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.13.1 | ||
5.13.2 |
Oops, something went wrong.