You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/11/17 20:19:15 UTC

[2/2] stratos git commit: Remove sudo from docker commands

Remove sudo from docker commands


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

Branch: refs/heads/stratos-4.1.x
Commit: c5b3f137555f2fd2db6a47617df7d132ca17091d
Parents: 670f11a
Author: Akila Perera <ra...@gmail.com>
Authored: Wed Nov 18 00:48:47 2015 +0530
Committer: Akila Perera <ra...@gmail.com>
Committed: Wed Nov 18 00:48:47 2015 +0530

----------------------------------------------------------------------
 tools/docker-images/cartridge-docker-images/build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/c5b3f137/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 032200d..c90abb8 100755
--- a/tools/docker-images/cartridge-docker-images/build.sh
+++ b/tools/docker-images/cartridge-docker-images/build.sh
@@ -31,12 +31,12 @@ popd
 
 pushd ${script_path}/base-image/
 echo "Building base Docker image..."
-sudo docker build -t stratos/base-image:4.1.5 .
+docker build -t stratos/base-image:4.1.5 .
 
 pushd ${script_path}/service-images/php
 echo "Building PHP Docker image..."
-sudo docker build -t stratos/php:4.1.5 .
+docker build -t stratos/php:4.1.5 .
 
 pushd ${script_path}/service-images/tomcat
 echo "Building Tomcat Docker image..."
-sudo docker build -t stratos/tomcat:4.1.5 .
+docker build -t stratos/tomcat:4.1.5 .