Commit Graph
5 Commits
Author SHA1 Message Date
Mike Pettypiece d02a1d9a13 fix: default shell executable to /bin/sh for Alpine compatibility (#241)
The init hook executor defaulted to /bin/bash, which is not available on
Alpine-based Docker images (eclipse-temurin:25-jre-alpine). This caused
startup hooks to fail with "No such file or directory". /bin/sh is
universally available and POSIX-compatible.
2026-04-06 15:27:06 -05:00
冰水泡枸杞 93f122e8f8 docs: fix initialization hooks Docker image names and AWS CLI instructions (#169)
- Fix incorrect ghcr.io image reference to correct Docker Hub names
- Add explanation of different image variants (native, JVM, AWS)
- Provide clear options for users needing AWS CLI
- Fix #167
2026-04-01 20:36:40 -05:00
Simone Paolo Petta 59c24c5e4e fix: defer startup hooks until HTTP server is ready (#157) (#159)
Startup hooks that make HTTP calls back to floci (e.g. aws cli) deadlocked
because they ran synchronously during StartupEvent, before the HTTP server
bound to port 4566. Hooks now run on a virtual thread that polls for port
readiness first. When no hooks are configured, behavior is unchanged.
2026-04-01 07:36:01 -05:00
Cyril Schumacher 1e2950a3aa docs: improve initialization hooks documentation (#144)
* docs: add initialization hooks to navigation

* docs: improve link label for initialization hooks

* docs: expand initialization hooks documentation with examples
2026-03-31 17:12:01 -05:00
Cyril Schumacher 7b2576fb42 feat(lifecycle): add support for startup and shutdown initialization hooks (#128)
* feat(lifecycle): add support for startup and shutdown initialization hooks

* test(lifecycle): add unit tests for initialization hooks

* test(lifecycle): add integration tests for initialization hooks

* docs: add documentation and configuration for initialization hooks
2026-03-30 11:00:44 -05:00