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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ The values that are used to populate the templates are found in values.yaml.
Rather than modifying the Dockerfiles directly, the `.j2` template should be changed and the Dockerfiles regenerated.

```sh
python3 -m pip install Jinja2
python3 template.py
python3 -m pip install Jinja2 pyyaml
python3 template.py values.yaml
```

## Notes:
Expand Down
19 changes: 19 additions & 0 deletions platforms/n64/egcs_1.1.2-4c/darwin/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/n64/egcs_1.1.2-4c

RUN wget -O mips-binutils-egcs-2.9.5-macos.tar.gz "https://github.com/decompals/mips-binutils-egcs-2.9.5/releases/download/0.6/mips-binutils-egcs-2.9.5-macos.tar.gz"
RUN tar xvzf mips-binutils-egcs-2.9.5-macos.tar.gz -C /compilers/n64/egcs_1.1.2-4c
RUN wget -O mips-gcc-egcs-2.91.66-macos.tar.gz "https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/download/0.7/mips-gcc-egcs-2.91.66-macos.tar.gz"
RUN tar xvzf mips-gcc-egcs-2.91.66-macos.tar.gz -C /compilers/n64/egcs_1.1.2-4c

RUN chown -R root:root /compilers/n64/egcs_1.1.2-4c/
RUN chmod +x /compilers/n64/egcs_1.1.2-4c/*


FROM scratch as release

COPY --from=base /compilers /compilers
19 changes: 19 additions & 0 deletions platforms/n64/egcs_1.1.2-4c/linux/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/n64/egcs_1.1.2-4c

RUN wget -O mips-binutils-egcs-2.9.5-linux.tar.gz "https://github.com/decompals/mips-binutils-egcs-2.9.5/releases/download/0.6/mips-binutils-egcs-2.9.5-linux.tar.gz"
RUN tar xvzf mips-binutils-egcs-2.9.5-linux.tar.gz -C /compilers/n64/egcs_1.1.2-4c
RUN wget -O mips-gcc-egcs-2.91.66-linux.tar.gz "https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/download/0.7/mips-gcc-egcs-2.91.66-linux.tar.gz"
RUN tar xvzf mips-gcc-egcs-2.91.66-linux.tar.gz -C /compilers/n64/egcs_1.1.2-4c

RUN chown -R root:root /compilers/n64/egcs_1.1.2-4c/
RUN chmod +x /compilers/n64/egcs_1.1.2-4c/*


FROM scratch as release

COPY --from=base /compilers /compilers
15 changes: 15 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,21 @@ compilers:
template: common/default
file: https://github.com/AngheloAlf/egcs_1.1.2-4/releases/download/latest/egcs_1.1.2-4.tar.gz

- id: egcs_1.1.2-4c
platform: n64
template: common/default
arch: linux
files:
- https://github.com/decompals/mips-binutils-egcs-2.9.5/releases/download/0.6/mips-binutils-egcs-2.9.5-linux.tar.gz
- https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/download/0.7/mips-gcc-egcs-2.91.66-linux.tar.gz
- id: egcs_1.1.2-4c
platform: n64
template: common/default
arch: darwin
files:
- https://github.com/decompals/mips-binutils-egcs-2.9.5/releases/download/0.6/mips-binutils-egcs-2.9.5-macos.tar.gz
- https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/download/0.7/mips-gcc-egcs-2.91.66-macos.tar.gz

- id: gcc4.4.0-mips64-elf
platform: n64
template: common/default
Expand Down