mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-04-06 06:43:53 +08:00
17 lines
339 B
Bash
Executable File
17 lines
339 B
Bash
Executable File
#!/usr/bin/bash
|
|
set -e
|
|
|
|
# for fast arm64 builds: https://namespace.so/docs/features/faster-builds
|
|
|
|
if ! command -v nsc &> /dev/null; then
|
|
echo "nsc missing, install with"
|
|
echo ""
|
|
echo "curl -fsSL https://get.namespace.so/cloud/install.sh | sh"
|
|
exit 1
|
|
fi
|
|
|
|
nsc version update
|
|
|
|
nsc docker buildx cleanup
|
|
nsc docker buildx setup --use
|