From 346e233ac406b31bcaf503ac635c228d3eff881f Mon Sep 17 00:00:00 2001 From: Christopher Bisset Date: Mon, 8 Aug 2022 09:37:26 +1000 Subject: [PATCH] added dependencies before cloning --- docker/production/scripts/1-image-build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/production/scripts/1-image-build.sh b/docker/production/scripts/1-image-build.sh index 748bf02..a46d153 100644 --- a/docker/production/scripts/1-image-build.sh +++ b/docker/production/scripts/1-image-build.sh @@ -1,12 +1,13 @@ #!/bin/sh set -x -#clone the project -git clone ${PROJECT_URL} ${PROJECT_NAME} - # add dependencies # jq for parsing version information -apk add --no-cache jq +# git for cloning the repository +apk add --no-cache jq git + +#clone the project +git clone ${PROJECT_URL} ${PROJECT_NAME} # install the project cd ${PROJECT_NAME}