Debian based Docker environment for building Lazarus (FPC) applications.
docker run -it -v $PWD:/app -p 5901:5901 -w /app gabrielrcouto/docker-lazarus:latest /bin/bash
You can use the lazbuild:
lazbuild the-name-of-your-project.lpr
If your application needs GUI, use vnc4server and connect to the container using a vnc client (port 5901):
vnc4server