mirror of
https://github.com/Lorenzooone/Pokemon-Gen3-to-Gen-X.git
synced 2026-04-26 00:27:27 -05:00
Add Dockerfile for multiplatform build.
This commit is contained in:
parent
012b6e89c6
commit
e314b40efa
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
FROM devkitpro/devkitarm as agbabi
|
||||
|
||||
RUN apt-get install -y cmake build-essential gcc-arm-none-eabi && \
|
||||
git clone https://github.com/felixjones/agbabi
|
||||
|
||||
WORKDIR agbabi
|
||||
|
||||
RUN cmake -S . -DCMAKE_TOOLCHAIN_FILE=cross/agb.cmake -B build && \
|
||||
cmake --build build && \
|
||||
cmake --install build
|
||||
|
||||
FROM devkitpro/devkitarm
|
||||
|
||||
COPY --from=agbabi /usr/local/ /usr/local/
|
||||
|
||||
ENV LIBAGBABI=/usr/local
|
||||
|
||||
WORKDIR pokemon_gen3_to_genx
|
||||
|
||||
CMD make
|
||||
|
|
@ -83,3 +83,11 @@ Everything else, and the programming code, is governed by the MIT license.
|
|||
|
||||
## Example
|
||||
[This is a Video showing how to use the homebrew](https://youtu.be/3-EKe_lQREY).
|
||||
|
||||
|
||||
## Building
|
||||
The easiest is to build with docker, since you don't have to install a bunch of tools and libraries
|
||||
```bash
|
||||
docker build . -t pokemon_gen3_to_genx
|
||||
docker run --rm -it -v .:/pokemon_gen3_to_genx pokemon_gen3_to_genx
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user