From 2fd3b8b75983ff7521f9e9b01b6d9e3033cdb09e Mon Sep 17 00:00:00 2001 From: sozud <122322823+sozud@users.noreply.github.com> Date: Mon, 13 Oct 2025 19:04:27 -0700 Subject: [PATCH] Add more Dreamcast compilers --- platforms/dreamcast/shc-v5.1r03/Dockerfile | 17 +++++++++++++++++ platforms/dreamcast/shc-v5.1r04/Dockerfile | 17 +++++++++++++++++ platforms/dreamcast/shc-v5.1r13/Dockerfile | 17 +++++++++++++++++ values.yaml | 12 ++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 platforms/dreamcast/shc-v5.1r03/Dockerfile create mode 100644 platforms/dreamcast/shc-v5.1r04/Dockerfile create mode 100644 platforms/dreamcast/shc-v5.1r13/Dockerfile diff --git a/platforms/dreamcast/shc-v5.1r03/Dockerfile b/platforms/dreamcast/shc-v5.1r03/Dockerfile new file mode 100644 index 0000000..c2e2ead --- /dev/null +++ b/platforms/dreamcast/shc-v5.1r03/Dockerfile @@ -0,0 +1,17 @@ +# NOTE: This file is generated automatically via template.py. Do not edit manually! + + +FROM alpine:3.18 as base + +RUN mkdir -p /compilers/dreamcast/shc-v5.1r03 + +RUN wget -O shc-v5.1r03.tar.gz "https://github.com/decompme/compilers/releases/download/compilers/shc-v5.1r03.tar.gz" +RUN tar xvzf shc-v5.1r03.tar.gz -C /compilers/dreamcast/shc-v5.1r03 + +RUN chown -R root:root /compilers/dreamcast/shc-v5.1r03/ +RUN chmod +x /compilers/dreamcast/shc-v5.1r03/* + + +FROM scratch as release + +COPY --from=base /compilers /compilers diff --git a/platforms/dreamcast/shc-v5.1r04/Dockerfile b/platforms/dreamcast/shc-v5.1r04/Dockerfile new file mode 100644 index 0000000..01e7f31 --- /dev/null +++ b/platforms/dreamcast/shc-v5.1r04/Dockerfile @@ -0,0 +1,17 @@ +# NOTE: This file is generated automatically via template.py. Do not edit manually! + + +FROM alpine:3.18 as base + +RUN mkdir -p /compilers/dreamcast/shc-v5.1r04 + +RUN wget -O shc-v5.1r04.tar.gz "https://github.com/decompme/compilers/releases/download/compilers/shc-v5.1r04.tar.gz" +RUN tar xvzf shc-v5.1r04.tar.gz -C /compilers/dreamcast/shc-v5.1r04 + +RUN chown -R root:root /compilers/dreamcast/shc-v5.1r04/ +RUN chmod +x /compilers/dreamcast/shc-v5.1r04/* + + +FROM scratch as release + +COPY --from=base /compilers /compilers diff --git a/platforms/dreamcast/shc-v5.1r13/Dockerfile b/platforms/dreamcast/shc-v5.1r13/Dockerfile new file mode 100644 index 0000000..85947c7 --- /dev/null +++ b/platforms/dreamcast/shc-v5.1r13/Dockerfile @@ -0,0 +1,17 @@ +# NOTE: This file is generated automatically via template.py. Do not edit manually! + + +FROM alpine:3.18 as base + +RUN mkdir -p /compilers/dreamcast/shc-v5.1r13 + +RUN wget -O shc-v5.1r13.tar.gz "https://github.com/decompme/compilers/releases/download/compilers/shc-v5.1r13.tar.gz" +RUN tar xvzf shc-v5.1r13.tar.gz -C /compilers/dreamcast/shc-v5.1r13 + +RUN chown -R root:root /compilers/dreamcast/shc-v5.1r13/ +RUN chmod +x /compilers/dreamcast/shc-v5.1r13/* + + +FROM scratch as release + +COPY --from=base /compilers /compilers diff --git a/values.yaml b/values.yaml index 277216b..7d8f541 100644 --- a/values.yaml +++ b/values.yaml @@ -1072,6 +1072,14 @@ compilers: platform: dreamcast template: common/default file: https://github.com/decompme/compilers/releases/download/compilers/shc-v5.1r01.tar.gz + - id: shc-v5.1r03 + platform: dreamcast + template: common/default + file: https://github.com/decompme/compilers/releases/download/compilers/shc-v5.1r03.tar.gz + - id: shc-v5.1r04 + platform: dreamcast + template: common/default + file: https://github.com/decompme/compilers/releases/download/compilers/shc-v5.1r04.tar.gz - id: shc-v5.1r08 platform: dreamcast template: common/default @@ -1080,3 +1088,7 @@ compilers: platform: dreamcast template: common/default file: https://github.com/decompme/compilers/releases/download/compilers/shc-v5.1r11.tar.gz + - id: shc-v5.1r13 + platform: dreamcast + template: common/default + file: https://github.com/decompme/compilers/releases/download/compilers/shc-v5.1r13.tar.gz