CI environment for building rolling images of PX:Linux.
3.0K
CI Environment for building PX:Linux Images.
PX: Linux is a Linux Distribution for Industrial IoT system based on Arch Linux ARM.
PX:Linux is part of PX:Tech, an End-to-End platform for building Industrial IoT systems including:
You can download a prebuilt docker image from Docker Hub. To pull the image simply run:
docker pull pxtech/pxlinux-ci
To build it yourself, clone this Github repository and run the build command:
docker build .
Your host machine must have qemu-user-static installed and the interpreter correctly registered to binfmt_misc . If you are running Arch Linux, you can install this package from the AUR.
Before running the image, make sure you have a valid config/targets.yaml file. You can specify more than one target.
Currently, only build command is supported: BuildCommand: cmd: helper_scripts/build_img.sh params: - BaseImage - TargetImage - U-Boot - RootFS - DeviceTrees - Packages - Scripts
A minimal targets.yaml file is provided as part of this project and looks like this:
Targets:
PXBoardQP4G:
Name: PXBoardQP4G
TargetImage: assets/images/PXBoardQP4G-latest.img
SkipUpdate: False
Assets:
BaseImage:
path: assets/images/PixieQP4GCoreImage-2018-11-13.img
url: https://code-ing.com/pixierepo/release/images/latest/PixieQP4GCoreImage.zip
BuildCommand:
cmd: helper_scripts/build_img.sh
params:
- BaseImage
- TargetImage
- U-Boot
- DeviceTrees
- Packages
- Scripts
Container must run privileged because it needs to create and use loopback devices to mount and modify the .img files. Directories containing 'assets' and 'config' must be mounted as volumes. Assuming this project exists in your home directory, you can start the build process as:
docker run \
--user=root \
-it \
--rm \
--privileged \
-v ~/pxlinux-ci/assets:/assets \
-v ~/pxlinux-ci/config:/config \
pxtech/pxlinux-ci:latest
If you're interested in adding features or contributing to PX:Linux or PX:Tech, contact the maintainers of this repository.
Content type
Image
Digest
Size
689.4 MB
Last updated
almost 6 years ago
docker pull pxtech/pxlinux-ci