This container is a simple way to build the Ghostty Terminal for Linux.
Ghostty is a terminal emulator that is designed to be fast and lightweight. It is written in Zig. Ghostty
Zig's std lib always assumes 4 KiB pages on Linux running on aarch64.
See:
This then leads to the build.zig script which uses the zig standardTargetOptions to get the CPU Arch.
This container includes a diff for the build.zig and mem.zig files to allow for the aarch64 CPU Arch to be used.
On an Fedora system you can use the podman command to build the container.
podman build -t ghostty --output out -f amd64/Dockerfile .Or for Ashai Linux
podman build -t ghostty --output out -f asahi-build/Dockerfile asahi-buildOnce the binary is built you can move it to a location in your path. Configuration at this point is as per the Ghostty docs..
Adding ghostty to the menu can be achieved by using Menu Editor and adding a new entry with ghostty as the command.
Work out how to get it to build in a github action...