From 4fb2e6bb1ba196eac4a4b4134754c9a994b539bd Mon Sep 17 00:00:00 2001 From: Paul Williams Date: Tue, 31 Oct 2023 20:47:20 -0400 Subject: [PATCH] Dockerize the build --- Dockerfile | 5 +++++ README.md | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..cf39e88 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM devkitpro/devkitarm + +WORKDIR /ezkernel +ENV LIBGBA="${DEVKITPRO}/libgba" +CMD ["make"] \ No newline at end of file diff --git a/README.md b/README.md index f600e75..5d251e2 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,13 @@ PATH,DEVKITARM,DEVKITPRO,LIBGBA 3.Double click on build.bat under winodws. If it goes well, you will get ezkernel.gba - 4.Rename the ezkernel.gba to ezkernel.bin, that is the omega kernel upgrade file \ No newline at end of file + 4.Rename the ezkernel.gba to ezkernel.bin, that is the omega kernel upgrade file + +## Docker + +``` +docker build -t ezkernel . +docker container run --rm -v "$(pwd)":/ezkernel:rw ezkernel +``` + +Rename the ezkernel.gba to ezkernel.bin, that is the omega kernel upgrade file \ No newline at end of file