Skip to content

Don't source (LOCALSTACK_)HOST in docker entrypoint#7978

Merged
thrau merged 1 commit intomasterfrom
fix-entrypoint-vars
Mar 27, 2023
Merged

Don't source (LOCALSTACK_)HOST in docker entrypoint#7978
thrau merged 1 commit intomasterfrom
fix-entrypoint-vars

Conversation

@simonrw
Copy link
Contributor

@simonrw simonrw commented Mar 27, 2023

Before this change, the entrypoint script would strip the LOCALSTACK_ prefix from LOCALSTACK_HOST and try to set the HOST environment variable to something. This is bad as the HOST enviornment variable is reserved for system things, and should not be set.

Before this change, the entrypoint script would strip the `LOCALSTACK_`
prefix from `LOCALSTACK_HOST` and try to set the `HOST` environment
variable to something. This is bad as the `HOST` enviornment variable is
reserved for system things, and should not be set.
@simonrw simonrw self-assigned this Mar 27, 2023
@simonrw simonrw requested a review from thrau March 27, 2023 14:48
@coveralls
Copy link

Coverage Status

Coverage: 81.758% (+0.004%) from 81.754% when pulling 1016a73 on fix-entrypoint-vars into 1d81bc9 on master.

Copy link
Member

@thrau thrau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@thrau thrau merged commit c6d5eb0 into master Mar 27, 2023
@thrau thrau deleted the fix-entrypoint-vars branch March 27, 2023 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants