Deployment
clippy and tests, then static amd64 and arm64 binaries. The container image and the tagged release jobs have not been run yet, so no release or image exists. The names below are what they are set up to produce.Static binary
Release builds are static musl executables for Linux amd64 and arm64 with no runtime dependencies. On Apple Silicon you can build natively with cargo build --release -p relioncross. There is no Wine, Windows or x86 emulation involved anywhere.
Container image
The image is built FROM scratch: just the binary, a default config at /etc/relioncross.yaml, an empty /state volume and a /data directory. It runs as a non-root user (65534) and is published for linux/amd64 and linux/arm64.
docker run --rm \
-p 2302:2302/udp -p 8080:8080 \
-v /path/to/Freelancer:/data/freelancer:ro \
-v relioncross-state:/state \
git.grey.ooo/freelancer/relioncross:latest
- The Freelancer game files are Microsoft’s and are never baked into the image; mount your own copy read-only.
- To change settings, mount your own file over
/etc/relioncross.yaml(see configuration). Setapi.tokenif you want to write through the API. - Ports:
2302/udpfor the LAN protocol,8080/tcpfor the API and dashboard.
CI pipeline
Forgejo Actions, in .github/workflows/ci.yml of the Relioncross repository:
- Check on every push and pull request: formatting,
clippyand tests. - Build on
mainandv*tags: static binaries for x86_64 and arm64, verified static, with SHA-256 sums, uploaded as artifacts. - Container image from those binaries, with no emulation needed: tagged
main, or the version andlateston a tag. - Release on a tag: creates a release with the binaries attached.
The repository needs a runner label in the variable DOCKER_RUNNER and two secrets, REGISTRY_TOKEN and RELEASE_TOKEN. Without a Docker runner the image step is skipped rather than left queued.
Relioncross is unofficial and not affiliated with Microsoft or the IONCROSS community. It contains no Microsoft or IONCROSS files; bring your own copy of Freelancer.