]> source.dussan.org Git - gitea.git/commitdiff
Fix the path problem, which will build the mysql image as the gogits image
authorLance Ju <lance@crenolab.com>
Fri, 11 Apr 2014 07:32:57 +0000 (15:32 +0800)
committerLance Ju <lance@crenolab.com>
Fri, 11 Apr 2014 07:32:57 +0000 (15:32 +0800)
dockerfiles/build.sh

index 57138577c95df8c854596b5cf4e5385ca32b7389..1e7cf0ad0c4048af2043ae15c43c94b49481b538 100755 (executable)
@@ -13,13 +13,13 @@ cd images/mysql
 docker build -t gogs/mysql .
 #
 ## Build the gogits image
-cd images/gogits
+cd ../gogits
 docker build -t gogs/gogits .
 #
 ## Run MySQL image with name
 docker run -d --name $MYSQL_RUN_NAME gogs/mysql
 #
 ## Run gogits image and link it to the MySQL image
-echo "Now we have the MySQL image(running) and gogs image, use the follow command to start gogs service:'
+echo "Now we have the MySQL image(running) and gogs image, use the follow command to start gogs service:"
 echo -e "\033[33m docker run -i -t --link $MYSQL_RUN_NAME:db -p $HOST_PORT:3000 gogs/gogits \033[0m"