A very simeple Dockerfile to build a Raspberry Pi project "3D Xmas Tree" (https://thepihut.com/products/3d-xmas-tree-for-raspberry-pi).
Pull, build and run with privilleges to allow the container to access the Raspberry Pi's GPIO (docker run --privileged)