mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
The Quarkus container build of the native binary failed on Apple Silicon with GraalVM's BranchTargetOutOfBoundsException in a generated AwsQueryController invoker (Quarkus 3.39 turns on -H:+AOTSingleCallsiteInline for Mandrel 25.0.4+), and the packaged image died at startup because the builder links zlib dynamically while ubi9-micro ships no libz.so.1. `make native` passes the same flags CI does (-Ob,-H:-AOTSingleCallsiteInline), stages native/<arch>/ like the workflow, and copies libz.so.1 from the builder image next to the binary, which Dockerfile.native-package now puts on LD_LIBRARY_PATH. The Makefile becomes the entry point for development: help (default), dev, build, test T=, native (container build), native-host (host GraalVM/Mandrel, adding the Mandrel-only flag when native-image reports Mandrel), run-native, native-install (PREFIX, default ~/.local), native-image, native-up/native-down/ native-logs against a new docker/compose.native.yml overlay that carries the five CI compat env vars, clean-sidecars, clean-volumes (a leftover ECR registry volume is re-adopted on start and breaks the CDK bootstrap), compat SUITES= and docker-tests. docker/run-docker-tests.sh gains FLOCI_START=0 and COMPAT_SUITES, validated against the suite list, and its shell test covers both. Docs: installation (native section rewritten), docker-images, CONTRIBUTING, AGENTS.
51 lines
988 B
Plaintext
51 lines
988 B
Plaintext
target/
|
|
# make native stages the container-built binary here for docker/Dockerfile.native-package
|
|
native/
|
|
data/
|
|
*.class
|
|
*.jar
|
|
!vendor/maven/**/*.jar
|
|
*.war
|
|
.idea/
|
|
*.iml
|
|
.settings/
|
|
.project
|
|
.classpath
|
|
.vscode/
|
|
.zed/settings.json
|
|
.DS_Store
|
|
.zed/settings.json
|
|
.kiro/
|
|
|
|
CLAUDE.md
|
|
GEMINI.md
|
|
COPILOT.md
|
|
.claude
|
|
|
|
posts
|
|
local
|
|
|
|
.terraform.lock.hcl
|
|
go.sum
|
|
package-lock.json
|
|
test-results.xml
|
|
|
|
*.log
|
|
test-results
|
|
|
|
|
|
# Python tooling caches
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# .mission/ is per-machine operational scratch (deploy scripts, ledgers, run
|
|
# artifacts) for driving the emulator locally. It was previously hidden by a
|
|
# per-clone .git/info/exclude rule (#2218); ignoring it here makes the rule
|
|
# visible on every clone. Tooling meant to be shared must be committed to the
|
|
# repo proper, not kept in .mission/.
|
|
.mission/
|
|
|
|
# The Release Cut toolchain is pinned; its lockfile must be committed
|
|
# (npm ci fails without it) despite the global package-lock.json ignore.
|
|
!.github/release-tooling/package-lock.json
|