This Repository contains the Dockerfile for the sdk-builder. The sdk-builder is used as base image for all product sdks (PFC200, PFC300, CC100, VTP/CTP & WP400). If you prefer to use a virtual machine feel free to use the Dockfile as guideline for the installation process.
The Dockerfile currently uses the Yocto SDK installers for toolchain version 03.00.05 for ARM and AArch64. They are downloaded from the public release gcc-toolchain-gcc13.4-03.00.05 of WAGO/gcc-toolchain.
The locale definitions and character maps for PTXdist's locale generation come from the GNU glibc 2.39 sources, matching the SDK's glibc.
The toolchains are installed under /opt/ybp-glibc-x86_64-wago-toolchain-03.00.05/ (cortexa8hf-neon-wago-arm-toolchain and aarch64-wago-aarch64-toolchain). These paths differ from version 4.0.0, so use this image only with FW-32 and later.
Make sure that docker is installed on the host system. To install docker, please refer to the instructions depending on your host system, e.g for Ubuntu use https://docs.docker.com/install/linux/docker-ce/ubuntu/.
Make sure docker can be run without root privileged. Refer to https://docs.docker.com/engine/install/linux-postinstall/ for further information.
Make sure that you install GIT version >= 1.8.2
sudo apt install git
Every FW release is bound to one specific sdk-builder tag. You can look up the corresponding value in the table below.
| sdk-builder release | pfc200-sdk | cc100-sdk | tp-sdk | pfc300-sdk | wp400-sdk |
|---|---|---|---|---|---|
| 1.0.0 | FW-24 | FW-24 | FW-24 | - | - |
| 2.0.0 | FW-25 | FW-25 | FW-25 | - | - |
| FW-26 | FW-26 | FW-26 | - | - | |
| 3.0.0 | FW-27 | FW-27 | FW-27 | FW-27 | - |
| 3.0.1 | FW-28 | FW-28 | FW-28 | FW-28 | FW-28 |
| 4.0.0 | FW-30 | - | - | - | - |
| 5.0.0 | FW-32 | - | - | - | - |
You can downloand specific sdk-builder versions in the release section. Alternatively you may use git to clone the repository.
git clone git@github.com:WAGO/sdk-builder.git && cd sdk-builder
Afterwards you can checkout a custom release.
git checkout`<sdk-builder release>`
docker build -t wagoautomation/sdk-builder:`<sdk-builder release>` .
Congrats! You have successfully build the sdk-builder image. You may proceed with the build of a product sdk listed below.