271
edits
Ccawley2011 (talk | contribs) |
Ccawley2011 (talk | contribs) |
||
Line 174: | Line 174: | ||
The following should install all the necessary packages: | The following should install all the necessary packages: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
apt-get install docker.io git | apt-get install docker.io git | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 182: | Line 182: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
git clone https://github.com/scummvm/scummvm.git | git clone https://github.com/scummvm/scummvm.git | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | === Using the docker images === | ||
To fetch a toolchain image from the Docker Hub, issue the following command | To fetch a toolchain image from the Docker Hub, issue the following command from the ScummVM source directory: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
./devtools/docker.sh <toolchain> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
where <toolchain> is the name of the toolchain you want to use. | where <toolchain> is the name of the toolchain you want to use, and <path-to-scummvm> is the path to the scummvm folder. This will fetch the requested toolchain from the Docker Hub if it isn't installed, mount the scummvm folder in the Docker image and launch a shell that can be used to build ScummVM for the relevant platform. Alternatively, you can use the following command to fetch updates for an already installed toolchain before launching the shell: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
./devtools/docker.sh --update <toolchain> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Once in the Docker image, the following commands should be issued in order to build ScummVM: | Once in the Docker image, the following commands should be issued in order to build ScummVM: |
edits