Contains the LORIX OS toolchain and Golang. Use this to build your applications for LORIX OS.
2.5K
Dockerfile for a LORIX OS SDK Docker image. This images allows anyone to easily build software targettting the Wifx LORIX products.
The image is based on Ubuntu 18.04 LTS and contains:
The tag name corresponds to the version of LORIX OS the toolchain is from.
The version of the GO compiler corresponds to the version used in the corresponding LORIX OS version.
Start a container in interactive mode:
docker run -it -v <project-path>:/root wifx/lorix-os-sdk
The -v argument mounts a volume between the host filesystem and the system running in the container, so you can access your files from the container
The environemnt is automatically prepared for the 'arm-lorixos-linux-gnueabi' toolchain.
Build your project:
arm-lorixos-linux-gnueabi-gcc
make
...
To create a new version of the SDK, edit the docker file and edit the following variables:
LORIXOS_TOOLCHAIN_VERSION=<version of LORIX OS the toolchain targets>
GO_VERSION=<the version of the GO compiler that will be installed>
The assets are downloaded from the Internet (Wifx downloads and GO binary repository).
Build the image with:
docker build -t wifx/lorix-os-sdk:LORIXOS_TOOLCHAIN_VERSION .
Replace LORIXOS_TOOLCHAIN_VERSION with what you defined in the Dockerfile.
Content type
Image
Digest
sha256:73169d832…
Size
1.5 GB
Last updated
5 months ago
docker pull wifx/lorix-os-sdk