You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/02/21 17:05:26 UTC

stratos git commit: Adding tomcat docker image to build.sh

Repository: stratos
Updated Branches:
  refs/heads/master d87e700ff -> 2b8b7071d


Adding tomcat docker image to build.sh


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/2b8b7071
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/2b8b7071
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/2b8b7071

Branch: refs/heads/master
Commit: 2b8b7071dd05a2b816a4fa575c6d929648323a0d
Parents: d87e700
Author: Imesh Gunaratne <im...@apache.org>
Authored: Sat Feb 21 21:35:18 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sat Feb 21 21:35:18 2015 +0530

----------------------------------------------------------------------
 .../docker-images/cartridge-docker-images/build.sh  | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/2b8b7071/tools/docker-images/cartridge-docker-images/build.sh
----------------------------------------------------------------------
diff --git a/tools/docker-images/cartridge-docker-images/build.sh b/tools/docker-images/cartridge-docker-images/build.sh
index fbdd0b8..530a099 100755
--- a/tools/docker-images/cartridge-docker-images/build.sh
+++ b/tools/docker-images/cartridge-docker-images/build.sh
@@ -30,17 +30,25 @@ cp -vf target/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT.zip ${script_
 popd
 
 pushd ${script_path}/base-image/
-echo "Building base image..."
+echo "Building base docker image..."
 docker build -t stratos/base-image:4.1.0-beta .
 
-echo "Pushing base image to docker hub..."
+echo "Pushing base docker image to docker hub..."
 docker push stratos/base-image:4.1.0-beta
 popd
 
 pushd ${script_path}/service-images/php
-echo "Building php image..."
+echo "Building php docker image..."
 docker build -t stratos/php:4.1.0-beta .
 
-echo "Pushing php image to docker hub..."
+echo "Pushing php docker image to docker hub..."
 docker push stratos/php:4.1.0-beta
 popd
+
+pushd ${script_path}/service-images/tomcat
+echo "Building tomcat docker image..."
+docker build -t stratos/tomcat:4.1.0-beta .
+
+echo "Pushing tomcat docker image to docker hub..."
+docker push stratos/tomcat:4.1.0-beta
+popd