File tree Expand file tree Collapse file tree 14 files changed +84
-22
lines changed
Expand file tree Collapse file tree 14 files changed +84
-22
lines changed Original file line number Diff line number Diff line change 1+ # NOTE: This file is generated automatically via template.py. Do not edit manually!
2+
3+
4+ FROM alpine:3.18 as base
5+
6+ RUN mkdir -p /compilers/ps1/gcc2.6.0-mipsel
7+
8+ RUN wget -O gcc-2.6.0.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.6.0.tar.gz"
9+ RUN tar xvzf gcc-2.6.0.tar.gz -C /compilers/ps1/gcc2.6.0-mipsel
10+
11+ ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
12+
13+ RUN wget -O maspsx.zip https://github.com/mkst/maspsx/archive/${MASPSX_HASH}.zip
14+ RUN unzip maspsx.zip
15+ RUN cp -r maspsx-${MASPSX_HASH} /compilers/ps1/gcc2.6.0-mipsel/maspsx
16+
17+ RUN echo '#!/bin/bash' >> as
18+ RUN echo 'python3 $(dirname -- $0)/maspsx/maspsx.py --run-assembler --no-macro-inc -I${COMPILER_DIR} $@' >> as
19+ RUN cp as /compilers/ps1/gcc2.6.0-mipsel/
20+
21+ RUN chown -R root:root /compilers/ps1/gcc2.6.0-mipsel/
22+ RUN chmod +x /compilers/ps1/gcc2.6.0-mipsel/*
23+
24+
25+ FROM scratch as release
26+
27+ COPY --from=base /compilers /compilers
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55
66RUN mkdir -p /compilers/ps1/gcc2.6.3-mipsel
77
8- RUN wget -O gcc-2.6.3.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3 /gcc-2.6.3.tar.gz"
8+ RUN wget -O gcc-2.6.3.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5 /gcc-2.6.3.tar.gz"
99RUN tar xvzf gcc-2.6.3.tar.gz -C /compilers/ps1/gcc2.6.3-mipsel
1010
1111ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55
66RUN mkdir -p /compilers/ps1/gcc2.6.3-psx
77
8- RUN wget -O gcc-2.6.3-psx.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3 /gcc-2.6.3-psx.tar.gz"
8+ RUN wget -O gcc-2.6.3-psx.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5 /gcc-2.6.3-psx.tar.gz"
99RUN tar xvzf gcc-2.6.3-psx.tar.gz -C /compilers/ps1/gcc2.6.3-psx
1010
1111ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Original file line number Diff line number Diff line change 1+ # NOTE: This file is generated automatically via template.py. Do not edit manually!
2+
3+
4+ FROM alpine:3.18 as base
5+
6+ RUN mkdir -p /compilers/ps1/gcc2.7.0-mipsel
7+
8+ RUN wget -O gcc-2.7.0.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5/gcc-2.7.0.tar.gz"
9+ RUN tar xvzf gcc-2.7.0.tar.gz -C /compilers/ps1/gcc2.7.0-mipsel
10+
11+ ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
12+
13+ RUN wget -O maspsx.zip https://github.com/mkst/maspsx/archive/${MASPSX_HASH}.zip
14+ RUN unzip maspsx.zip
15+ RUN cp -r maspsx-${MASPSX_HASH} /compilers/ps1/gcc2.7.0-mipsel/maspsx
16+
17+ RUN echo '#!/bin/bash' >> as
18+ RUN echo 'python3 $(dirname -- $0)/maspsx/maspsx.py --run-assembler --no-macro-inc -I${COMPILER_DIR} $@' >> as
19+ RUN cp as /compilers/ps1/gcc2.7.0-mipsel/
20+
21+ RUN chown -R root:root /compilers/ps1/gcc2.7.0-mipsel/
22+ RUN chmod +x /compilers/ps1/gcc2.7.0-mipsel/*
23+
24+
25+ FROM scratch as release
26+
27+ COPY --from=base /compilers /compilers
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55
66RUN mkdir -p /compilers/ps1/gcc2.7.1-mipsel
77
8- RUN wget -O gcc-2.7.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3 /gcc-2.7.1.tar.gz"
8+ RUN wget -O gcc-2.7.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5 /gcc-2.7.1.tar.gz"
99RUN tar xvzf gcc-2.7.1.tar.gz -C /compilers/ps1/gcc2.7.1-mipsel
1010
1111ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55
66RUN mkdir -p /compilers/ps1/gcc2.7.2-mipsel
77
8- RUN wget -O gcc-2.7.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3 /gcc-2.7.2.tar.gz"
8+ RUN wget -O gcc-2.7.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5 /gcc-2.7.2.tar.gz"
99RUN tar xvzf gcc-2.7.2.tar.gz -C /compilers/ps1/gcc2.7.2-mipsel
1010
1111ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55
66RUN mkdir -p /compilers/ps1/gcc2.7.2.1-mipsel
77
8- RUN wget -O gcc-2.7.2.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3 /gcc-2.7.2.1.tar.gz"
8+ RUN wget -O gcc-2.7.2.1.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5 /gcc-2.7.2.1.tar.gz"
99RUN tar xvzf gcc-2.7.2.1.tar.gz -C /compilers/ps1/gcc2.7.2.1-mipsel
1010
1111ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55
66RUN mkdir -p /compilers/ps1/gcc2.7.2.2-mipsel
77
8- RUN wget -O gcc-2.7.2.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3 /gcc-2.7.2.2.tar.gz"
8+ RUN wget -O gcc-2.7.2.2.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5 /gcc-2.7.2.2.tar.gz"
99RUN tar xvzf gcc-2.7.2.2.tar.gz -C /compilers/ps1/gcc2.7.2.2-mipsel
1010
1111ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55
66RUN mkdir -p /compilers/ps1/gcc2.7.2.3-mipsel
77
8- RUN wget -O gcc-2.7.2.3.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3 /gcc-2.7.2.3.tar.gz"
8+ RUN wget -O gcc-2.7.2.3.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5 /gcc-2.7.2.3.tar.gz"
99RUN tar xvzf gcc-2.7.2.3.tar.gz -C /compilers/ps1/gcc2.7.2.3-mipsel
1010
1111ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM alpine:3.18 as base
55
66RUN mkdir -p /compilers/ps1/gcc2.8.0-mipsel
77
8- RUN wget -O gcc-2.8.0.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.3 /gcc-2.8.0.tar.gz"
8+ RUN wget -O gcc-2.8.0.tar.gz "https://github.com/decompals/old-gcc/releases/download/0.5 /gcc-2.8.0.tar.gz"
99RUN tar xvzf gcc-2.8.0.tar.gz -C /compilers/ps1/gcc2.8.0-mipsel
1010
1111ARG MASPSX_HASH=e78f35007690114ffb12cc2220e785d512e38cc2
You can’t perform that action at this time.
0 commit comments