Get the docker image from https://github.com/cbegin/ugbasic-build Then use his or my Makefile Usage Defaults to c64 make FILE=hello.bas or specify make vic20 FILE=game.bas, make c128 FILE=demo.bas, etc.