Synpse CLI Builder
Synpse CLI has build in CLI helper to build images for you devices. It can help to build re-usable image for you to use in multiple devices. Build once and reuse on all your devices.
Currently CLI builder support only Linux systems
Pre-requisites:
Linux based machine (Ubuntu subsystem for Windows does not work)
Synpse CLI installed and logged into Synpse Cloud
CLI must be run as privileged user as builds are using
mount
to build the image
After build image startup might take 10-15 minutes for updates and install of the latest binaries. Time might wary based on your internet speed.
Getting started
Chose base image you want to use for your build. If you don't find base images you would like, let us know in Discord to see what we can do about this!
Run build command with build parameters (parameters can be found by executing synpse build -h
)
If --project-id
or--registration-token
is not provided CLI attempt to get default default provisioning token for the project configured in CLI. User must have access to read Device Provisioning Tokens in RBAC
If --unixUser
is not provided synpse
user will be created
Build using config file
You can also build image using configuration file
Where config.yaml
is example bellow:
Last updated