diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-08-30 06:37:04 -0700 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-08-30 06:37:04 -0700 |
commit | 4c8ef90157f58efe39bd36fe957eb4415ca2d2da (patch) | |
tree | 03c8ae1382e92612341df57856e9d1a17e1de8a9 /scripts/dockerfiles/build.sh | |
parent | 9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (diff) | |
parent | 69e332f432c87ce83a488a8c06a02ded26f66beb (diff) |
Merge pull request #394 from tstorch/trailing_white_spaces
Removed trailing white spaces
Diffstat (limited to 'scripts/dockerfiles/build.sh')
-rwxr-xr-x | scripts/dockerfiles/build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dockerfiles/build.sh b/scripts/dockerfiles/build.sh index 4617da14..36f6a468 100755 --- a/scripts/dockerfiles/build.sh +++ b/scripts/dockerfiles/build.sh @@ -21,13 +21,13 @@ fi # Replace the database root password in database image Dockerfile. sed -i "s/THE_DB_PASSWORD/$DB_PASSWORD/g" images/$DB_TYPE/Dockerfile -# Replace the database root password in gogits image deploy.sh file. +# Replace the database root password in gogits image deploy.sh file. sed -i "s/THE_DB_PASSWORD/$DB_PASSWORD/g" images/gogits/deploy.sh -# Replace the apt source in gogits image Dockerfile. +# Replace the apt source in gogits image Dockerfile. sed -i "s/#$APT_SOURCE#//" images/gogits/Dockerfile # Uncomment the installation of database lib in gogs Dockerfile sed -i "s/#$DB_TYPE#//" images/gogits/Dockerfile -# Replace the database type in gogits image deploy.sh file. +# Replace the database type in gogits image deploy.sh file. sed -i "s/THE_DB_TYPE/$DB_TYPE/g" images/gogits/deploy.sh if [ $MEM_TYPE != "" ] |