Sign inSign up

teamplayer3/pi-cmake

By teamplayer3

•Updated about 6 years ago

CMake Images for Raspberry Pi

Image
0

880

teamplayer3/pi-cmake repository overview

⁠pi-cmake

⁠Description

This image is for building CMake Projects which needs a higher CMake version as can be downloaded precompiled on Raspian.

⁠Basic Usage

To build basic CMake projects run the Image and mount the CMake project as a Volume at start. Navigate to the project directory and run following the image as follows.

docker run -v $PWD:/project teamplayer3/pi-cmake:3.13.4-stretch

The image to use can be determined as follows:

pi-cmake:<cmake version>-<debian version>

⁠Advanced

To pass CMake Flags this can be done by an environment variable at start.

docker run -v $PWD:/project -e CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=Release" teamplayer3/pi-cmake:3.13.4-stretch

To build a project with library dependencies, take this image as a base image and install in the new image needed dependencies.

⁠Image Sturcture

The image is based on the balenalib/rpi-raspbian⁠ image.

Tag summary

Content type

Image

Digest

Size

205.4 MB

Last updated

about 6 years ago

docker pull teamplayer3/pi-cmake