summaryrefslogtreecommitdiffstats
path: root/dockerfiles
diff options
context:
space:
mode:
authorLance Ju <lance@crenolab.com>2014-04-11 15:32:57 +0800
committerLance Ju <lance@crenolab.com>2014-04-11 15:32:57 +0800
commitb1a3ba9932f2894a70d7f8e04ffc6ea8d71ce779 (patch)
tree4801b93a134b6a78d653e62bb142df39083aa691 /dockerfiles
parent2315dc39b6c84bdb8fbbe778e56e4b27b8760ba9 (diff)
downloadgitea-b1a3ba9932f2894a70d7f8e04ffc6ea8d71ce779.tar.gz
gitea-b1a3ba9932f2894a70d7f8e04ffc6ea8d71ce779.zip
Fix the path problem, which will build the mysql image as the gogits image
Diffstat (limited to 'dockerfiles')
-rwxr-xr-xdockerfiles/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dockerfiles/build.sh b/dockerfiles/build.sh
index 57138577c9..1e7cf0ad0c 100755
--- a/dockerfiles/build.sh
+++ b/dockerfiles/build.sh
@@ -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"