Add DockerWii

This commit is contained in:
Mike Nolan 2023-05-10 08:37:00 -05:00
parent bcbd2f124c
commit 82fef9c699
4 changed files with 27 additions and 0 deletions

7
docker/Wii/Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM devkitpro/devkitppc:20230501
RUN dkp-pacman --noconfirm -Su && dkp-pacman --noconfirm -S libfat-ogc ppc-zlib ppc-jansson
WORKDIR "/tmp"
RUN wget https://gitlab.com/4TU/wii-packages/uploads/686f898638fb96af55e3754b92c5aaa7/libwiisocket-0.1-1-any.pkg.tar.zst https://gitlab.com/4TU/wii-packages/uploads/fc3378553929e58a397df6ec6204a1c0/wii-mbedtls-2.16.6-1-any.pkg.tar.zst https://gitlab.com/4TU/wii-packages/uploads/2b19acc728140dcfbbf7e18f9d9e312a/wii-curl-7.75.0-1-any.pkg.tar.zst && dkp-pacman --noconfirm -U libwiisocket-0.1-1-any.pkg.tar.zst wii-mbedtls-2.16.6-1-any.pkg.tar.zst wii-curl-7.75.0-1-any.pkg.tar.zst
WORKDIR "/usr/local/bin"
COPY run.sh run.sh
ENTRYPOINT ["bash","/usr/local/bin/run.sh"]

0
docker/Wii/icon.png Normal file
View File

10
docker/Wii/meta.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app version="1">
<name>TLang Scripting Language</name>
<version>0.0.0.1</version>
<release_date>20230510000000</release_date>
<coder>Tesses</coder>
<short_description>TLang Wii Version</short_description>
<long_description>My Scripting Language Created In 2023
</long_description>
</app>

10
docker/Wii/run.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
mkdir /project
cd /project
git clone https://gitlab.tesses.net/tesses50/tlang-c .
cd libtlang
make -f Makefile.wii
mkdir -p /out/apps/TLang/
cp boot.dol /out/apps/TLang/
cp /project/docker/Wii/meta.xml /out/apps/TLang/
cp /project/docker/Wii/icon.png /out/apps/TLang/