mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-04-06 06:43:53 +08:00
setup namespace remote builder (#398)
* setup namespace remote builder * lil more * use nsc build for now * load
This commit is contained in:
16
scripts/ns_docker.sh
Executable file
16
scripts/ns_docker.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user