projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The compute image building script autodetects the correct Go version to
[arvados.git]
/
tools
/
compute-images
/
build.sh
diff --git
a/tools/compute-images/build.sh
b/tools/compute-images/build.sh
index 769b9a5b5aaca004b6f7624369ab0ffcafc98de2..c589ffa055493c3be94c132a3c3914e6aeccb928 100755
(executable)
--- a/
tools/compute-images/build.sh
+++ b/
tools/compute-images/build.sh
@@
-286,6
+286,9
@@
if [[ -n "$NVIDIA_GPU_SUPPORT" ]]; then
EXTRA2+=" -var nvidia_gpu_support=$NVIDIA_GPU_SUPPORT"
fi
EXTRA2+=" -var nvidia_gpu_support=$NVIDIA_GPU_SUPPORT"
fi
+GOVERSION=$(grep 'const goversion =' ../../lib/install/deps.go |awk -F'"' '{print $2}')
+EXTRA2+=" -var goversion=$GOVERSION"
+
echo
packer version
echo
echo
packer version
echo