Commit 3cbc8395 authored by Chris (Someguy123)'s avatar Chris (Someguy123)
Browse files

Improved build.sh Docker build script

 - Changed most variables from hard-coded export's, so that they only use their default value if
   the variable wasn't already set in the environment

 - Refactored most lines to follow shellscript standards, e.g. using `${}` where appropriate, quoting
   arguments and variables, etc.

 - Added some additional variables to make it easier to adjust individual portions of the docker tag
   through environment variables

 - Added basic information comment block to the top of the file explaining how to use the build script,
   and how to adjust the docker tag

 - Added a bash shebang and made the file executable

 - Added support for overriding the docker tag by passing an argument

 - Added `$DIR` variable, allowing `build.sh` to be ran from any working directory, without running
   into path context problems.
parent 420af54d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment