mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
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.