You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ch...@apache.org on 2014/09/02 10:25:08 UTC
git commit: minimise ActiveMQ docker image
Repository: stratos
Updated Branches:
refs/heads/master 78680bc5c -> e7b4ed4e7
minimise ActiveMQ docker image
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/e7b4ed4e
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e7b4ed4e
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e7b4ed4e
Branch: refs/heads/master
Commit: e7b4ed4e7a8ce94d1c6f1151cc1bcd25150d38c2
Parents: 78680bc
Author: Chris Snow <ch...@gmail.com>
Authored: Tue Sep 2 08:24:41 2014 +0000
Committer: Chris Snow <ch...@gmail.com>
Committed: Tue Sep 2 08:24:41 2014 +0000
----------------------------------------------------------------------
tools/stratos-docker-images/activemq/Dockerfile | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/e7b4ed4e/tools/stratos-docker-images/activemq/Dockerfile
----------------------------------------------------------------------
diff --git a/tools/stratos-docker-images/activemq/Dockerfile b/tools/stratos-docker-images/activemq/Dockerfile
index 7edf7d5..d896a93 100755
--- a/tools/stratos-docker-images/activemq/Dockerfile
+++ b/tools/stratos-docker-images/activemq/Dockerfile
@@ -22,14 +22,16 @@
# Server configuration script for Apache Stratos
# ----------------------------------------------------------------------------
-FROM ubuntu:14.04
+FROM ubuntu:14.04
-RUN apt-get update
-RUN apt-get upgrade tzdata -y
-RUN apt-get install openjdk-7-jre-headless curl -y
+RUN apt-get update && \
+ apt-get upgrade tzdata -y && \
+ apt-get install openjdk-7-jre-headless curl -y && \
+ apt-get clean && \
+ rm -rf /var/cache/apt/*
-RUN curl http://www.mirrorservice.org/sites/ftp.apache.org/activemq/5.10.0/apache-activemq-5.10.0-bin.tar.gz > apache-activemq-5.10.0-bin.tar.gz
-RUN tar xzf apache-activemq-5.10.0-bin.tar.gz
+
+RUN curl http://www.mirrorservice.org/sites/ftp.apache.org/activemq/5.10.0/apache-activemq-5.10.0-bin.tar.gz | tar -zx
EXPOSE 61616 8161