Skip to content

2.5. Compile on Docker

George Sokianos edited this page Oct 21, 2020 · 1 revision

If you would like to use Docker to compile iGame, there are available images with VBCC installed and able to compile it for AmigaOS 3, AmigaOS 4 and MorphOS. Information about the images can be found at docker4AmigaVBCC.

To compile using Docker, you have first to clone iGame repository. Then use the following commands to compile it

Compile for AmigaOS 3.x

docker run -it --rm --name amigavbcc-m68k -v "$PWD"/iGame:/opt/code -w /opt/code walkero/docker4amigavbcc:latest-m68k /bin/bash
su amidev
make -f Makefile.docker
make -f Makefile.docker iGame.030
make -f Makefile.docker iGame.040
make -f Makefile.docker iGame.060

Compile for AmigaOS 4.x

docker run -it --rm --name amigavbcc-ppc -v "$PWD"/iGame:/opt/code -w /opt/code walkero/docker4amigavbcc:latest-ppc /bin/bash
su amidev
make -f Makefile.docker iGame.OS4

Compile for MorphOS

docker run -it --rm --name amigavbcc-mos -v "$PWD"/iGame:/opt/code -w /opt/code walkero/docker4amigavbcc:latest-mos /bin/bash
su amidev
make -f Makefile.docker iGame.MOS