You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the LocalStackContainer the 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.sh instead 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the
LocalStackContainer
the 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.sh
instead 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