Create Docker build environment for devkitARM #5

Closed
opened 2026-01-27 07:08:43 +00:00 by maj · 0 comments
Owner

Create a Docker/Podman container that includes devkitARM and all dependencies needed to build the Nintendo 3DS application.

Tasks

  • Create docker/devkitarm.Dockerfile
  • Base image: devkitpro/devkitarm or equivalent
  • Install required tools: makerom, tex3ds, bannertool
  • Add libctru, citro3d, citro2d libraries
  • Add build dependencies: CMake, git, curl
  • Create scripts/build-3ds.sh wrapper script
  • Test container builds project successfully
  • Document usage in docker/README.md
  • Add podman commands to main README

Podman Commands to Document

# Build container
podman build -f docker/devkitarm.Dockerfile -t nextcloud-share-3ds:latest .

# Run build
podman run --rm -v ./:/project:z nextcloud-share-3ds make -C 3ds

# Interactive shell
podman run --rm -it -v ./:/project:z nextcloud-share-3ds bash

Acceptance Criteria

  • Container builds without errors
  • Can compile 3DS app inside container
  • Volume mounts work correctly for source code
  • Build artifacts accessible on host
  • Documentation includes podman examples
  • Container tagged and versioned
Create a Docker/Podman container that includes devkitARM and all dependencies needed to build the Nintendo 3DS application. ## Tasks - [ ] Create `docker/devkitarm.Dockerfile` - [ ] Base image: devkitpro/devkitarm or equivalent - [ ] Install required tools: makerom, tex3ds, bannertool - [ ] Add libctru, citro3d, citro2d libraries - [ ] Add build dependencies: CMake, git, curl - [ ] Create `scripts/build-3ds.sh` wrapper script - [ ] Test container builds project successfully - [ ] Document usage in `docker/README.md` - [ ] Add podman commands to main README ## Podman Commands to Document ```bash # Build container podman build -f docker/devkitarm.Dockerfile -t nextcloud-share-3ds:latest . # Run build podman run --rm -v ./:/project:z nextcloud-share-3ds make -C 3ds # Interactive shell podman run --rm -it -v ./:/project:z nextcloud-share-3ds bash ``` ## Acceptance Criteria - [ ] Container builds without errors - [ ] Can compile 3DS app inside container - [ ] Volume mounts work correctly for source code - [ ] Build artifacts accessible on host - [ ] Documentation includes podman examples - [ ] Container tagged and versioned
maj added this to the Milestone 1: Project Infrastructure milestone 2026-01-27 07:08:43 +00:00
maj added the dockerplatform:3dspriority:highinfrastructure labels 2026-01-27 07:08:43 +00:00
maj closed this issue 2026-01-28 18:33:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: maj/nextcloud-share#5