A Docker Image for PS2 Development
Cross-compile your PS2 homebrew projects inside a Docker container based on ps2toolchain.
Quick Start
Run this command in your project's root folder to build it inside a Docker container:
docker run -it --rm -v "$PWD:/src" mlafeldt/ps2dev make
This will mount the current folder to /src
in the container and then run
make
inside /src
. You may execute other commands, of course.
Omit the command to get a login shell (/bin/bash
) in the running container:
docker run -it --rm -v "$PWD:/src" mlafeldt/ps2dev
There's also a "2011" tag, i.e. mlafeldt/ps2dev:2011
, for projects depending
on a PS2SDK version from that year.
Continuous Integration
With the Docker image in hand, you can also build and test your PS2 applications on CI platforms. Here's an example configuration for Travis CI:
# .travis.yml
language: c
sudo: required
services:
- docker
script: docker run -it --rm -v "$PWD:/src" mlafeldt/ps2dev make test
Examples
Projects known to use the Docker image:
Author
This project is being developed by Mathias Lafeldt.
Some years ago I already created a Vagrant Box for PS2 development.