Difference between revisions of "Compiling ScummVM/Docker"

From ScummVM :: Wiki
Jump to navigation Jump to search
(First draft)
(No difference)

Revision as of 14:49, 14 April 2021

NOTE
This page is still a draft, and lacks a lot of detail.


Compiling ScummVM using Docker

TODO

The following images are available:

  • toolchains/amigaos4
  • toolchains/android
  • toolchains/caanoo
  • toolchains/devkit3ds
  • toolchains/devkitnds
  • toolchains/devkitppc
  • toolchains/devkitswitch
  • toolchains/dreamcast
  • toolchains/gcw0
  • toolchains/iphone
  • toolchains/macosx-arm64
  • toolchains/macosx-i386
  • toolchains/macosx-x86_64
  • toolchains/mxe
  • toolchains/open2x
  • toolchains/opendingux
  • toolchains/openpandora
  • toolchains/ps3
  • toolchains/psp
  • toolchains/raspberrypi
  • toolchains/riscos
  • toolchains/vita

Installing the needed packages

Debian-based distributions

The following should install all the needed packages:

apt-get install docker.io git make m4 acl

Getting the source

  • Open a Terminal and type:
git clone https://github.com/scummvm/scummvm.git
git clone https://github.com/scummvm/dockerized-bb.git

Getting the docker images

To fetch a toolchain image from the Docker Hub, issue the following command inside the dockerized-bb folder:

make <toolchain>/pull

where <toolchain> is the name of the toolchain you want to use. The following command can be used to fetch all toolchains at once:

make pull-toolchains

Using the docker images

TODO

docker run -v <path-to-scummvm>:/data/scummvm -w /data/scummvm -it <toolchain> /bin/bash