PowerBlocks provides ready to go Docker packages allowing easy use across all platforms.
To begin, you will need an installation of Docker installed. The version of Docker depends on the host OS.
For Linux you can install Docker Engine directly from here.
For these systems, Docker Desktop is required and can be setup from here.
To begin, a PowerBlocks project using a Docker container, first locate the latest PowerBlock's package.
Then, in a terminal, create a workspace. This can be the name of your project.
Now run the Docker container from inside your project folder. We will mount the project folder inside the container as /workspace.
Make sure to replace <VERSION> with your version of PowerBlocks.
To create the project, copy an example from the SDK into your current project folder.
At this point, a PowerBlock's project is created within your project folder.
Whole still operating inside the Docker container, you can now configure and build the project.
You should now see a HelloWorld.elf inside the build/ folder of your project.