Building your First App
Structure of the app meta file, and how to build the app
The auterion-app.yml file
The auterion-app.yml file has to be in the apps root directory. In its most basic form it is structured like this:
Each AuterionOS app targets a specific API level. The API level an app targets, is specified in the auterion-app.yml
file like so:
For a full comparison of the available API versions see Apps API.
Building the app
What does auterion-cli app build
really do? It performs the following tasks
For all the services with a
build
directive, it builds the image usingdocker build --platform=linux/arm64
. If the auterion-cli command is invoked with the--simulation
flag, it will instead executedocker build --platform=linux/amd64
.For all services with a
image
directive it pulls them from docker hubIt packages the built image into a .auterionos file
Last updated