I am trying to build an Torizoncore image in a CI pipeline on gitlab (in house) and on github (for a client). Our build CI pipeline creates docker image tar file artifacts. Our network configuration and security requirements makes using a container registry difficult. The docker image tar file is created with:
docker buildx build --output=type=docker,dest=${tar_filename} --platform=linux/arm64 --file ${filename} ${build_path}
The tar file that is created can be scp’ed to the apalis imx8, then “docker load -i ${tar_filename}
” makes it available for testing.
Is there way to bundle the docker image from the tar file into a Toradex Easy Installer Image? We would like to create a CI pipeline that can create the docker image and then include it into a Toradex Easy Installer image in one pipeline without pushing to a container registry. Are there any gitlab pipeline or github action examples of this?
I found a couple of forum posts which are similar to what I need to do, but are not complete solutions:
- This post is a start to what I need to do, but doesn’t appear to be a full solution (and doesn’t include a custom docker image): Torizoncore builder Gitlab CI automation - #9 by drew.tx.
- This two year old post addresses creating the bundle with a docker tar file (and says it is not supported): Torizoncore builder bundle docker images existing on build computer - #6 by jeremias.tx
Ixora Carrier Board
Apalis iMX8 QuadMax 4GB Wi-Fi / Bluetooth IT