Unofficial devkitPro Docker development containers
Find a file
2025-03-02 19:38:25 -07:00
etc init 2025-02-15 16:33:00 -07:00
.gitignore init 2025-02-15 16:33:00 -07:00
build use SSH to connect to container now 2025-03-02 19:38:25 -07:00
Dockerfile use SSH to connect to container now 2025-03-02 19:38:25 -07:00
README.md fix formatting 2025-02-15 16:57:29 -07:00

devkitPro Docker Development Containers

devkitPro is a collection of different toolchains created for developing homebrew for home consoles, most notably for Nintendo consoles. They are fairly robust, however the only supported method is to use their Pacman (Arch Linux) repositories, requiring the installation of Pacman for other Linux distributions and operating systems.

This repo hopes to create a development environment that is usable for developing homebrew on other systems without needing to install Pacman to their system. I feel that needing to install a package manager other than the one your system ships with makes things more complicated and can confuse your current package manager, so having an isolated environment will solve that problem and allow people to use fairly vanilla systems.

THIS REPO IS NOT OFFICIALLY SUPPORTED BY DEVKITPRO AND SHOULD NOT BE CONSIDERED AN OFFICIAL OUTLET TO USE THE TOOLCHAINS PROVIDED BY DEVKITPRO.

How to use

  1. Install Docker and Git using your package manager or by downloading them manually.
  2. Windows and macOS users may want to install Docker Desktop instead.
  3. Clone this repository and enter it.
    git clone https://git.brysonsteck.xyz/brysonsteck/devkitPro.git && cd devkitPro
    
  4. Run this command to build a Docker image for the tools you need. For a list of package names, see the section "Unix-like platforms" on the devkitPro Wiki.
    docker build -t devkitpro --build-arg TOOLS="wii-dev" .
    
  5. Create and start a container from this new image. The work directory is set to /volume, so it's recommended to mount your project's directory to that location.
    docker container create --name devkitpro-container -v /path/to/project:/volume devkitPro
    docker container start devkitpro-container
    
  6. You can now access this container using docker exec. This image is based off of archlinux, so you have the ability to run a shell.
    $ docker exec -it devkitpro-container bash
    [devkitpro@d41c71ef5898 volume]$
    
  7. To stop the container, run this command on the host:
    docker container stop devkitpro-container