gbadev-org / awesome-gbadev

A curated list of Game Boy Advance development resources
https://gbadev.net
Other
1.02k stars 60 forks source link

add dkarm_gba_docker #36

Closed redthing1 closed 2 years ago

redthing1 commented 2 years ago
AntonioND commented 2 years ago

This Dockerfile installs a few more things than devkitPro. I don't know if this is generic enough for other people to use it.

redthing1 commented 2 years ago

This Dockerfile installs a few more things than devkitPro. I don't know if this is generic enough for other people to use it.

I will update this to split into a default base image with only devkitarm, and then a separate optional image with addons for dusk. So that way people can use the fully supported base image.

redthing1 commented 2 years ago

Repository has been updated, cause I want this to be useful to people generally. https://github.com/redthing1/dkarm_gba_docker

Now you can build a base image with only devkitarm, curl, wget, git, and make, which is a minimal and sufficient set for building general GBA ROMs. The image with more features has been split into a separate dockerfile.

Building the image is just

docker build -f base/Dockerfile --pull -t dkarm_base:local .
felixjones commented 2 years ago

I'm not familiar with Docker images, but to me it looks like cmake is still there

redthing1 commented 2 years ago

I'm not familiar with Docker images, but to me it looks like cmake is still there

Yeah, that was a mistake, I just removed it.

redthing1 commented 2 years ago
RUN apt update && apt install -y \
    make build-essential wget curl git

This is all that's there now, these are all bare minimum requirements that provide basic linux build tools.

Also now there's an example of how to use this base image to build a homebrew rom like Celeste Classic.

AntonioND commented 2 years ago

Yeah, I like the current Dockerfile a lot more than before.