File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ curl --fail http://127.0.0.1:8080 >/dev/null 2>&1 && echo '== ERROR: something i
4646# node_modules if necessary.
4747GOOS=" $( go env GOOS) "
4848GOARCH=" $( go env GOARCH) "
49- make " build/coder_${GOOS} _${GOARCH} "
49+ make -j " build/coder_${GOOS} _${GOARCH} "
5050
5151# Use the coder dev shim so we don't overwrite the user's existing Coder config.
5252CODER_DEV_SHIM=" ${PROJECT_ROOT} /scripts/coder-dev.sh"
@@ -76,7 +76,11 @@ CODER_DEV_SHIM="${PROJECT_ROOT}/scripts/coder-dev.sh"
7676 # exist, then let's try to create a template!
7777 example_template=" code-server"
7878 template_name=" docker"
79- if docker info > /dev/null 2>&1 && ! " ${CODER_DEV_SHIM} " templates versions list " ${template_name} " ; then
79+ if docker info > /dev/null 2>&1 && ! " ${CODER_DEV_SHIM} " templates versions list " ${template_name} " > /dev/null 2>&1 ; then
80+ # sometimes terraform isn't installed yet when we go to create the
81+ # template
82+ sleep 5
83+
8084 temp_template_dir=" $( mktemp -d) "
8185 echo " ${example_template} " | " ${CODER_DEV_SHIM} " templates init " ${temp_template_dir} "
8286
You can’t perform that action at this time.
0 commit comments