feat(kit): create configured sandbox image
This commit is contained in:
10
build-sbx.sh
10
build-sbx.sh
@@ -154,6 +154,16 @@ main() {
|
|||||||
workspace_paths+=("$workspace_path")
|
workspace_paths+=("$workspace_path")
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
printf 'Creating Docker sbx image: %s\n' "$new_sandbox_name"
|
||||||
|
if ! sbx create opencode \
|
||||||
|
--name "$new_sandbox_name" \
|
||||||
|
--kit "$KIT_PATH" \
|
||||||
|
--template "$TEMPLATE" \
|
||||||
|
"${workspace_paths[@]}"; then
|
||||||
|
printf 'Unable to create Docker sbx image: %s\n' "$new_sandbox_name" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user