Skip to content

Commit

Permalink
Init Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mkst committed Sep 19, 2023
1 parent 9c6f658 commit 2e7564e
Show file tree
Hide file tree
Showing 130 changed files with 3,014 additions and 0 deletions.
17 changes: 17 additions & 0 deletions platforms/gba/agbcc/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/gba/agbcc

RUN wget -O agbcc.tar.gz "https://github.com/pret/agbcc/releases/download/release/agbcc.tar.gz"
RUN tar xvzf agbcc.tar.gz -C /compilers/gba/agbcc

RUN chown -R root:root /compilers/gba/agbcc/
RUN chmod +x /compilers/gba/agbcc/*


FROM scratch as release

COPY --from=base /compilers /compilers
17 changes: 17 additions & 0 deletions platforms/gba/agbccpp/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/gba/agbccpp

RUN wget -O agbcc.tar.gz "https://github.com/notyourav/agbcc/releases/download/cp/agbcc.tar.gz"
RUN tar xvzf agbcc.tar.gz -C /compilers/gba/agbccpp

RUN chown -R root:root /compilers/gba/agbccpp/
RUN chmod +x /compilers/gba/agbccpp/*


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_144

RUN cp -r GC/1.0/* /compilers/gc_wii/mwcc_233_144

RUN chmod +x /compilers/gc_wii/mwcc_233_144/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_233_144/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_233_144/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_144/lmgr326b.dll /compilers/gc_wii/mwcc_233_144/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_233_144/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_144/lmgr8c.dll /compilers/gc_wii/mwcc_233_144/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_233_144/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_159

RUN cp -r GC/1.1/* /compilers/gc_wii/mwcc_233_159

RUN chmod +x /compilers/gc_wii/mwcc_233_159/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_233_159/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_233_159/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_159/lmgr326b.dll /compilers/gc_wii/mwcc_233_159/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_233_159/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_159/lmgr8c.dll /compilers/gc_wii/mwcc_233_159/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_233_159/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_163

RUN cp -r GC/1.2.5/* /compilers/gc_wii/mwcc_233_163

RUN chmod +x /compilers/gc_wii/mwcc_233_163/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_233_163/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_233_163/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_163/lmgr326b.dll /compilers/gc_wii/mwcc_233_163/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_233_163/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_163/lmgr8c.dll /compilers/gc_wii/mwcc_233_163/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_233_163/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_163e

RUN cp -r GC/1.2.5e/* /compilers/gc_wii/mwcc_233_163e

RUN chmod +x /compilers/gc_wii/mwcc_233_163e/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_233_163e/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_233_163e/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_163e/lmgr326b.dll /compilers/gc_wii/mwcc_233_163e/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_233_163e/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_163e/lmgr8c.dll /compilers/gc_wii/mwcc_233_163e/LMGR8C.dll; \
fi
ARG FRANK_HASH=d19668657d2a5efa42cdffb801090d05734b9dbd

RUN wget -O /compilers/gc_wii/mwcc_233_163e/frank.py https://raw.githubusercontent.com/doldecomp/melee/${FRANK_HASH}/tools/frank.py
RUN cp -r GC/1.2.5/mwcceppc.exe /compilers/gc_wii/mwcc_233_163e/mwcceppc.125.exe
RUN chmod +x /compilers/gc_wii/mwcc_233_163e/mwcceppc.125.exe

RUN chown -R root:root /compilers/gc_wii/mwcc_233_163e/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_163n

RUN cp -r GC/1.2.5n/* /compilers/gc_wii/mwcc_233_163n

RUN chmod +x /compilers/gc_wii/mwcc_233_163n/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_233_163n/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_233_163n/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_163n/lmgr326b.dll /compilers/gc_wii/mwcc_233_163n/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_233_163n/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_233_163n/lmgr8c.dll /compilers/gc_wii/mwcc_233_163n/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_233_163n/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_242_81

RUN cp -r GC/1.3.2/* /compilers/gc_wii/mwcc_242_81

RUN chmod +x /compilers/gc_wii/mwcc_242_81/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_242_81/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_242_81/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_242_81/lmgr326b.dll /compilers/gc_wii/mwcc_242_81/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_242_81/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_242_81/lmgr8c.dll /compilers/gc_wii/mwcc_242_81/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_242_81/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O MWCCEPPC_1.3.2r.zip "https://cdn.discordapp.com/attachments/598600200084258822/1136883349642825728/MWCCEPPC_1.3.2r.zip"
RUN unzip MWCCEPPC_1.3.2r.zip

RUN mkdir -p /compilers/gc_wii/mwcc_242_81r

RUN cp -r 1.3.2r/* /compilers/gc_wii/mwcc_242_81r

RUN chmod +x /compilers/gc_wii/mwcc_242_81r/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_242_81r/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_242_81r/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_242_81r/lmgr326b.dll /compilers/gc_wii/mwcc_242_81r/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_242_81r/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_242_81r/lmgr8c.dll /compilers/gc_wii/mwcc_242_81r/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_242_81r/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_105

RUN cp -r GC/2.5/* /compilers/gc_wii/mwcc_247_105

RUN chmod +x /compilers/gc_wii/mwcc_247_105/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_247_105/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_247_105/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_105/lmgr326b.dll /compilers/gc_wii/mwcc_247_105/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_247_105/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_105/lmgr8c.dll /compilers/gc_wii/mwcc_247_105/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_247_105/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_107

RUN cp -r GC/2.6/* /compilers/gc_wii/mwcc_247_107

RUN chmod +x /compilers/gc_wii/mwcc_247_107/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_247_107/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_247_107/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_107/lmgr326b.dll /compilers/gc_wii/mwcc_247_107/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_247_107/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_107/lmgr8c.dll /compilers/gc_wii/mwcc_247_107/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_247_107/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_108

RUN cp -r GC/2.7/* /compilers/gc_wii/mwcc_247_108

RUN chmod +x /compilers/gc_wii/mwcc_247_108/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_247_108/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_247_108/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_108/lmgr326b.dll /compilers/gc_wii/mwcc_247_108/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_247_108/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_108/lmgr8c.dll /compilers/gc_wii/mwcc_247_108/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_247_108/


FROM scratch as release

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


FROM alpine:3.18 as base

# download zip first to allow for Docker caching

WORKDIR /root

RUN wget -O GC_WII_COMPILERS.zip "https://cdn.discordapp.com/attachments/727918646525165659/1129759991696457728/GC_WII_COMPILERS.zip"
RUN unzip GC_WII_COMPILERS.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_92

RUN cp -r GC/2.0/* /compilers/gc_wii/mwcc_247_92

RUN chmod +x /compilers/gc_wii/mwcc_247_92/mwcceppc.exe
RUN touch /compilers/gc_wii/mwcc_247_92/license.dat
RUN if [[ -f /compilers/gc_wii/mwcc_247_92/lmgr326b.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_92/lmgr326b.dll /compilers/gc_wii/mwcc_247_92/LMGR326B.dll; \
fi
RUN if [[ -f /compilers/gc_wii/mwcc_247_92/lmgr8c.dll ]]; then \
mv /compilers/gc_wii/mwcc_247_92/lmgr8c.dll /compilers/gc_wii/mwcc_247_92/LMGR8C.dll; \
fi

RUN chown -R root:root /compilers/gc_wii/mwcc_247_92/


FROM scratch as release

COPY --from=base /compilers /compilers
Loading

0 comments on commit 2e7564e

Please sign in to comment.