* perf(docker): cut healthy wait from 5 s to 0.1 s
* fix(docker): wait up to 5 s for ready hooks before reporting healthy
* fix(docker): build without pulling a Dockerfile frontend from Docker Hub
The image installs the AWS CLI with pip, which ships only v1, and v1 treats a parameter value
that looks like a URL as a pointer to fetch rather than as the value. awscli/paramfile.py reads
cli_follow_urlparam with a default of true, so an init hook in /etc/floci/init/ready.d putting
an SSM parameter such as MY_API_URL=https://example.com fails with "Unable to retrieve
https://example.com", and a hook that backgrounds its calls loses that silently.
AWS CLI v2 dropped the behaviour, so this never reproduces when the same script is run from a
host with v2 installed, only inside the image. Disabling the setting in the profile the image
bakes fixes it for every hook; setting it at runtime does not work, because aws configure set
writes to a root-owned file while hooks run after the entrypoint's privilege drop.
Mirrored into docker/Dockerfile.jvm-package, whose runtime stage is a copy of this one and is
pinned to it by DockerfileRuntimeParityTest.
* fix: enforce safe default network binding
* fix(config): keep signed test authority stable
Pin the integration-test listener to the existing all-interface test bind and
opt into that bind only in the test profile. This preserves localhost-based
SigV4 fixtures while production keeps the loopback default.
* fix(config): keep compat image backward compatible
* chore: retrigger CI
* fix(config): mirror JVM image network binding
* chore(docker): add Dockerfile.jvm-package for the local dev loop
docker/Dockerfile runs Maven inside the build, so it re-resolves every dependency and wants
a couple of gigabytes. Iterating on a change through it is slow and can fall over on a
machine with little headroom.
This is the JVM counterpart to Dockerfile.native-package: it consumes the target/quarkus-app
an ordinary ./mvnw package already produced, which takes seconds. The runtime half is
identical to stage 2 of docker/Dockerfile, which stays the canonical definition.
* fix(docker): mirror the canonical runtime stage in Dockerfile.jvm-package
The new file said it mirrored stage 2 of docker/Dockerfile and did not. It dropped the
EXPOSE 6379-6399 block, which exists for the docker-java compatibility workaround in #2095,
so an image that looked equivalent published a different port set to anything reading image
metadata for those dynamically assigned Redis and ElastiCache ports.
Two smaller divergences went with it: an explicit bash install, which is redundant because
eclipse-temurin:25-jre-noble already ships bash 5.2.21, and a cli_follow_urlparam setting
that belongs to the canonical file and is not there yet.
The runtime stanza is now a copy of the canonical one with exactly two lines changed, the
version default and where the application directory is copied from, and
DockerfileRuntimeParityTest holds it there: it compares the two stages line for line,
comments included, and allows only those two substitutions. Removing a single EXPOSE line
fails it with the line that drifted.
Replace the in-container GraalVM build (docker/Dockerfile.native) with a
runner build via graalvm/setup-graalvm + Maven cache, using the -Ob quick
build (appended so application.yml native args are preserved). The prebuilt
binary is packaged through docker/Dockerfile.native-package, matching the
nightly/release pipeline. Both jobs run on ubuntu-24.04-arm.
Drop the JVM build/compat-test jobs and run the full 8-test matrix against
the native image (porting the compat-cdk Docker-socket case). Remove the now
orphaned docker/Dockerfile.jvm-package.
* chore(docker): add OCI image metadata labels
Add OCI image spec labels to Dockerfile.native-package, Dockerfile.jvm-package,
and Dockerfile.compat so published images carry standard metadata.
Static labels (title, description, url, source, licenses, vendor) are baked into
the Dockerfiles and are present in every build including local ones. Dynamic labels
(version, revision, created) are injected at publish time via the labels: input of
build-push-action in release.yml and nightly.yml.
Closes#851
* chore: setting not opencontainers labels
- Translate LocalStack env vars (LOCALSTACK_HOST, PERSISTENCE, LAMBDA_DOCKER_NETWORK, etc.)
to Floci equivalents automatically at startup; opt out with LOCALSTACK_PARITY=false
- Serve /_localstack/init and /_localstack/health alongside /_floci/* equivalents
- Report executed scripts with path, state, and return_code in /_floci/init response
- Add /_aws/sqs/messages GET (non-destructive peek) and DELETE (purge) inspection endpoint
- Add /_aws/execute-api/{apiId}/{stageName} LocalStack-compat path for REST API invocation
- Add four-phase init hook lifecycle (boot/start/ready/stop) with dual-path discovery
(/etc/floci/init/ and /etc/localstack/init/ compat paths)
- Install Python 3, AWS CLI, boto3 in standard image; wrap aws binary to pre-configure
--endpoint-url=http://localhost:4566 so init scripts need no extra flags
- Wire entrypoint.sh + gosu privilege drop into all Dockerfile variants
- Add migration guide and update README, docker-compose, docker-images, SQS, and
initialization-hooks docs