| name | build |
| description | Build salt-dev Docker container images (base and devtools) via buildx with the salt-8cpu builder. Creates the builder if missing. |
| disable-model-invocation | true |
Current State
- Branch: !
git branch --show-current
Build the project Docker images:
- Run
./lint.sh -- abort if any check fails
- Ensure the
salt-8cpu builder exists:
- Build base image:
docker buildx build --builder salt-8cpu --pull -t salt-dev --load .
- If $ARGUMENTS contains "devtools" or "all":
- Build devtools:
docker buildx build --builder salt-8cpu -f Dockerfile.devtools -t salt-dev-tools --load .
- Report build success/failure and image sizes via
docker images | grep salt-dev
- If $ARGUMENTS contains "intel" or "ifx":
docker run -it --name salt-ifx salt-dev-tools install-intel-ifx.sh --trust-intel-repo
- Reset CMD (docker commit inherits the running command):
docker commit --change='CMD ["/bin/bash"]' salt-ifx salt-dev-tools:intel-<version>
docker rm salt-ifx