Skip to content

Commit

Permalink
28
Browse files Browse the repository at this point in the history
  • Loading branch information
mkst committed Sep 13, 2023
1 parent d9d74d6 commit 414ade0
Show file tree
Hide file tree
Showing 18 changed files with 122 additions and 0 deletions.
19 changes: 19 additions & 0 deletions platforms/msdos/wcc10.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base


RUN mkdir -p /compilers/msdos/wcc10.5/i386_tools
RUN wget -O wcc10.5.tar.gz "https://github.com/OmniBlade/decomp.me/releases/download/wcc10.5/wcc10.5.tar.gz"
RUN tar xvzf wcc10.5.tar.gz -C /compilers/msdos/wcc10.5
RUN chmod +x /compilers/msdos/wcc10.5/*

RUN wget -O omftools.tar.gz https://github.com/OmniBlade/binutils-gdb/releases/download/omf-build/omftools.tar.gz
RUN tar xvzf omftools.tar.gz -C /compilers/msdos/wcc10.5/i386_tools
RUN chmod +x /compilers/msdos/wcc10.5/i386_tools/*


FROM scratch as release

COPY --from=base /compilers /compilers
19 changes: 19 additions & 0 deletions platforms/msdos/wcc10.5a/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base


RUN mkdir -p /compilers/msdos/wcc10.5a/i386_tools
RUN wget -O wcc10.5a.tar.gz "https://github.com/OmniBlade/decomp.me/releases/download/wcc10.5/wcc10.5a.tar.gz"
RUN tar xvzf wcc10.5a.tar.gz -C /compilers/msdos/wcc10.5a
RUN chmod +x /compilers/msdos/wcc10.5a/*

RUN wget -O omftools.tar.gz https://github.com/OmniBlade/binutils-gdb/releases/download/omf-build/omftools.tar.gz
RUN tar xvzf omftools.tar.gz -C /compilers/msdos/wcc10.5a/i386_tools
RUN chmod +x /compilers/msdos/wcc10.5a/i386_tools/*


FROM scratch as release

COPY --from=base /compilers /compilers
19 changes: 19 additions & 0 deletions platforms/msdos/wcc10.6/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base


RUN mkdir -p /compilers/msdos/wcc10.6/i386_tools
RUN wget -O wcc10.6.tar.gz "https://github.com/OmniBlade/decomp.me/releases/download/wcc10.5/wcc10.6.tar.gz"
RUN tar xvzf wcc10.6.tar.gz -C /compilers/msdos/wcc10.6
RUN chmod +x /compilers/msdos/wcc10.6/*

RUN wget -O omftools.tar.gz https://github.com/OmniBlade/binutils-gdb/releases/download/omf-build/omftools.tar.gz
RUN tar xvzf omftools.tar.gz -C /compilers/msdos/wcc10.6/i386_tools
RUN chmod +x /compilers/msdos/wcc10.6/i386_tools/*


FROM scratch as release

COPY --from=base /compilers /compilers
19 changes: 19 additions & 0 deletions platforms/msdos/wcc11.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base


RUN mkdir -p /compilers/msdos/wcc11.0/i386_tools
RUN wget -O wcc11.0.tar.gz "https://github.com/OmniBlade/decomp.me/releases/download/wcc10.5/wcc11.0.tar.gz"
RUN tar xvzf wcc11.0.tar.gz -C /compilers/msdos/wcc11.0
RUN chmod +x /compilers/msdos/wcc11.0/*

RUN wget -O omftools.tar.gz https://github.com/OmniBlade/binutils-gdb/releases/download/omf-build/omftools.tar.gz
RUN tar xvzf omftools.tar.gz -C /compilers/msdos/wcc11.0/i386_tools
RUN chmod +x /compilers/msdos/wcc11.0/i386_tools/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_40_771/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.0/b771/* /compilers/n3ds/armcc_40_771

RUN chmod +x /compilers/n3ds/armcc_40_771/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_40_821/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.0/b821/* /compilers/n3ds/armcc_40_821

RUN chmod +x /compilers/n3ds/armcc_40_821/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_41_1049/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.1/b1049/* /compilers/n3ds/armcc_41_1049

RUN chmod +x /compilers/n3ds/armcc_41_1049/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_41_1440/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.1/b1440/* /compilers/n3ds/armcc_41_1440

RUN chmod +x /compilers/n3ds/armcc_41_1440/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_41_1454/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.1/b1454/* /compilers/n3ds/armcc_41_1454

RUN chmod +x /compilers/n3ds/armcc_41_1454/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_41_561/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.1/b561/* /compilers/n3ds/armcc_41_561

RUN chmod +x /compilers/n3ds/armcc_41_561/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_41_713/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.1/b713/* /compilers/n3ds/armcc_41_713

RUN chmod +x /compilers/n3ds/armcc_41_713/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_41_791/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.1/b791/* /compilers/n3ds/armcc_41_791

RUN chmod +x /compilers/n3ds/armcc_41_791/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_41_894/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.1/b894/* /compilers/n3ds/armcc_41_894

RUN chmod +x /compilers/n3ds/armcc_41_894/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_41_921/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 4.1/b921/* /compilers/n3ds/armcc_41_921

RUN chmod +x /compilers/n3ds/armcc_41_921/*


FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions platforms/n3ds/armcc_504_82/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN cp -r 5.04/b82/* /compilers/n3ds/armcc_504_82

RUN chmod +x /compilers/n3ds/armcc_504_82/*


FROM scratch as release

COPY --from=base /compilers /compilers
17 changes: 17 additions & 0 deletions platforms/n64/gcc2.8.1pm/darwin/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/n64/gcc2.8.1pm

RUN wget -O mac.tar.gz "https://github.com/pmret/gcc-papermario/releases/download/master/mac.tar.gz"
RUN tar xvzf mac.tar.gz -C /compilers/n64/gcc2.8.1pm
RUN wget -O mac.tar.gz "https://github.com/pmret/binutils-papermario/releases/download/master/mac.tar.gz"
RUN tar xvzf mac.tar.gz -C /compilers/n64/gcc2.8.1pm

RUN chmod +x /compilers/n64/gcc2.8.1pm/*

FROM scratch as release

COPY --from=base /compilers /compilers
17 changes: 17 additions & 0 deletions platforms/n64/gcc2.8.1pm/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/n64/gcc2.8.1pm

RUN wget -O linux.tar.gz "https://github.com/pmret/gcc-papermario/releases/download/master/linux.tar.gz"
RUN tar xvzf linux.tar.gz -C /compilers/n64/gcc2.8.1pm
RUN wget -O linux.tar.gz "https://github.com/pmret/binutils-papermario/releases/download/master/linux.tar.gz"
RUN tar xvzf linux.tar.gz -C /compilers/n64/gcc2.8.1pm

RUN chmod +x /compilers/n64/gcc2.8.1pm/*

FROM scratch as release

COPY --from=base /compilers /compilers
1 change: 1 addition & 0 deletions templates/common/zip.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN cp -r {{ package_dir }}/* /compilers/{{ platform }}/{{ id }}

RUN chmod +x /compilers/{{ platform }}/{{ id }}/*


FROM scratch as release

COPY --from=base /compilers /compilers

0 comments on commit 414ade0

Please sign in to comment.