diff --git a/container_setup.bash b/container_setup.bash new file mode 100755 index 0000000..4315d97 --- /dev/null +++ b/container_setup.bash @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +GO_SRC="/go/src" +PKG_PATTERN="git\.portale-stac\.it/[^ ]*" +PKG_BRANCH=main + +#cd "${GO_SRC}" +#git clone -b main https://git.portale-stac.it/go/dev-expr.git +#cd "dev-expr" +for pkg in $(grep -o "${PKG_PATTERN}" go.mod); do + go get "${pkg}@${PKG_BRANCH}" +done +go build