Update Dockerfile and CI, add docker instruction to README

This commit is contained in:
Maschell 2021-12-29 17:25:37 +01:00
parent b985de6b7a
commit 58e2f38b0d
3 changed files with 21 additions and 2 deletions

View File

@ -62,4 +62,4 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./${{ env.REPOSITORY_NAME }}_${{ env.DATETIME }}.zip asset_path: ./${{ env.REPOSITORY_NAME }}_${{ env.DATETIME }}.zip
asset_name: ${{ env.REPOSITORY_NAME }}_${{ env.DATETIME }}.zip asset_name: ${{ env.REPOSITORY_NAME }}_${{ env.DATETIME }}.zip
asset_content_type: application/unknown asset_content_type: application/zip

View File

@ -1,3 +1,3 @@
FROM wiiuenv/devkitppc:20211106 FROM wiiuenv/devkitppc:20211229
WORKDIR project WORKDIR project

View File

@ -1 +1,20 @@
# AutobootModule # AutobootModule
## Building using the Dockerfile
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
```
# Build docker image (only needed once)
docker build . -t autobootmodule-builder
# make
docker run -it --rm -v ${PWD}:/project autobootmodule-builder make
# make clean
docker run -it --rm -v ${PWD}:/project autobootmodule-builder make clean
```
## Credits
- GaryOderNichts
- Maschell