Cross-compile PS1 homebrew projects using a Docker container.
- Based on small & secure Alpine Linux distribution.
- GCC and binutils versions changeable using
--build-arg GCC_VERSION=<version>
and--build-arg BINUTILS_VERSION=<version>
. - Includes cdrkit for building ISO images using mkisofs.
Run this command in your project's root folder to build it inside a Docker container:
docker run -it --rm -v "$PWD:/build" root670/docker-psxsdk make
This will mount the current folder to /build
in the container and then run
make
inside /build
.
You can use this Docker image to build PS1 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:/build" root670/docker-psxsdk make test