Files
docker/README.md
2025-11-20 13:32:36 -07:00

34 lines
1.0 KiB
Markdown
Executable File

# Build Eden for Android and Linux:
```shell
./build.sh <platform> <target>
```
`platform` is either `android` or `linux`
`target` is either `mainline`, `optimized`, or `legacy` for Android, and any from
`.ci/linux/build.sh` for Linux (.e.g., `amd64`, `steamdeck`, `rog-ally`, etc...)
Example:
```shell
./build.sh android optimized
```
This requires Docker.
Output artifacts, `.apk` or `.AppImage`, and logs, will end up in this directory. Their names contain
target, commit date/time, branch, and short commit SHA for easy reference.
No hand-holding (yet), so if you typo stuff or wrongly capitalize it, things will break.
The Eden repository must be cloned at the same level as this script and called `eden`. Make sure
to switch to the branch you want to build before you run this script.
It will be copied inside the container, so no changes will be made to it. If you keep your clone
clean, then your builds will always be from a clean slate.
If you want to refresh or rebuild a build image, then just delete it:
```shell
docker rmi eden-<platform>-builder
```