Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 7 additions & 23 deletions platforms/gc_wii/mwcc_233_144/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_144
FROM scratch AS release

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
COPY --from=base /compilers/GC/1.0 /compilers/gc_wii/mwcc_233_144
30 changes: 7 additions & 23 deletions platforms/gc_wii/mwcc_233_159/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_159
FROM scratch AS release

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
COPY --from=base /compilers/GC/1.1 /compilers/gc_wii/mwcc_233_159
30 changes: 7 additions & 23 deletions platforms/gc_wii/mwcc_233_159p1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_159p1
FROM scratch AS release

RUN cp -r GC/1.1p1/* /compilers/gc_wii/mwcc_233_159p1

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

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


FROM scratch as release

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


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_163
FROM scratch AS release

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
COPY --from=base /compilers/GC/1.2.5 /compilers/gc_wii/mwcc_233_163
34 changes: 10 additions & 24 deletions platforms/gc_wii/mwcc_233_163e/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,36 +1,22 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
# Copy of common/decomp.dev with legacy support for frank.py

WORKDIR /root
RUN apk add --no-cache curl libarchive-tools

RUN wget -O compilers_20240706.zip "https://files.decomp.dev/compilers_20240706.zip"
RUN unzip compilers_20240706.zip
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20240706.zip" \
| bsdtar -xvf- -C /compilers

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/
RUN wget -O /compilers/GC/1.2.5e/frank.py https://raw.githubusercontent.com/doldecomp/melee/${FRANK_HASH}/tools/frank.py
RUN cp -r /compilers/GC/1.2.5/mwcceppc.exe /compilers/GC/1.2.5e/mwcceppc.125.exe


FROM scratch as release
FROM scratch AS release

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


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_233_163n
FROM scratch AS release

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
COPY --from=base /compilers/GC/1.2.5n /compilers/gc_wii/mwcc_233_163n
30 changes: 7 additions & 23 deletions platforms/gc_wii/mwcc_242_53/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_242_53
FROM scratch AS release

RUN cp -r GC/1.3/* /compilers/gc_wii/mwcc_242_53

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

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


FROM scratch as release

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


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_242_81
FROM scratch AS release

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
COPY --from=base /compilers/GC/1.3.2 /compilers/gc_wii/mwcc_242_81
30 changes: 7 additions & 23 deletions platforms/gc_wii/mwcc_242_81r/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_242_81r
FROM scratch AS release

RUN cp -r GC/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
COPY --from=base /compilers/GC/1.3.2r /compilers/gc_wii/mwcc_242_81r
30 changes: 7 additions & 23 deletions platforms/gc_wii/mwcc_247_105/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,15 @@
# NOTE: This file is generated automatically via template.py. Do not edit manually!


FROM alpine:3.18 as base
FROM alpine:3.18 AS base

# download zip first to allow for Docker caching
RUN apk add --no-cache curl libarchive-tools

WORKDIR /root
RUN mkdir compilers \
&& curl -L "https://files.decomp.dev/compilers_20251015.zip" \
| bsdtar -xvf- -C /compilers

RUN wget -O compilers_20250520.zip "https://files.decomp.dev/compilers_20250520.zip"
RUN unzip compilers_20250520.zip

RUN mkdir -p /compilers/gc_wii/mwcc_247_105
FROM scratch AS release

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
COPY --from=base /compilers/GC/2.5 /compilers/gc_wii/mwcc_247_105
Loading