Allow default run args -it to be overridden by specifying DOCKER_RUN_ARGS.
Introduce GO_IMAGE and GO_VERSION to allow the compiliation docker image to be specified.
Add logic to handle the case where a non alpine golang image is used so that the script no longer blindly attempts to apk install bash and tar. Scripts checks for presence of both commands.
The PR fixes the following changes-
run
args-it
to be overridden by specifyingDOCKER_RUN_ARGS
.GO_IMAGE
andGO_VERSION
to allow the compiliation docker image to be specified.alpine
golang image is used so that the script no longer blindly attempts toapk
installbash
andtar
. Scripts checks for presence of both commands.