Replies: 1 comment
-
|
The entry point override exists because LocalStack's startup sequence requires more than just setting environment variables — it needs to bootstrap internal services, configure port routing, and set up the LocalStack daemon in a specific order that a plain shell entrypoint controls. Simply using Why
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In the
LocalStackContainerthe library creates a new entry point script by constructing a file here.I haven't traced through the code in detail, but it seems like all this custom command does is set some environment variables. Why is that necessary rather than setting the environment variables using
addEnv?The reason I ask is at my company we are not allowed to download images directly from dockerhub so someone had contributed our own image that behaves like the one on dockerhub except that the entry point script was written to
/bin/docker-entrypoint.shinstead of/usr/local/bin/docker-entrypoint.sh. We can and are fixing our container to use the same path as upstream, but I was wondering why wouldn't the container needs to override the entry point at all.Beta Was this translation helpful? Give feedback.
All reactions