This image is based on Alpine Linux image, which is only a 5MB image, and contains FreePascal Compiler.
slim
(master
branch) download image size is:
cleaned
(latest
tag) download image size is:
full
download image size is:
$ echo "begin writeln('Hello World'); end." > qq.pas
$ docker run --rm -v `pwd`:/tmp frolvlad/alpine-fpc fpc /tmp/qq.pas
Once you have run these commands you will have qq
executable in your current directory and if you
execute it, you will get printed 'Hello World'!