Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix entrypoint override #124

Merged
merged 2 commits into from
Jan 20, 2022

Conversation

n-marton
Copy link
Contributor

If the entrypoint is overriden, imageconfig needs to be passed, otherwise the container ignores the ENV,USER,etc params set in the image.

to reproduce the incorrect behavior run an image where there is a USER set in the image level, override the entrypoint, it will result a container running as root

Copy link
Contributor

@shishir-a412ed shishir-a412ed left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!
LGTM!

@shishir-a412ed shishir-a412ed merged commit c564dd2 into Roblox:master Jan 20, 2022
@n-marton n-marton deleted the fix/honor-image-params branch January 21, 2022 09:38
@n-marton
Copy link
Contributor Author

awesome, thanks @shishir-a412ed , are you planning to create a new tag any time soon?

@github-actions
Copy link

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@shishir-a412ed
Copy link
Contributor

awesome, thanks @shishir-a412ed , are you planning to create a new tag any time soon?

@n-marton v0.9.3 released here

jonathanrcross added a commit to AtomicConductor/nomad-driver-containerd that referenced this pull request Jan 25, 2022
* add parameter to allow the setting of running user for container (Roblox#120)
* add parameter to allow the setting of running user for container
* use task level user param as source param
* Security fixes: upgrade containerd + nomad. (Roblox#122)

Signed-off-by: Shishir Mahajan <[email protected]>
* Fix issue Roblox#116 - allow relative paths in mounts. (Roblox#123)
* Fix issue Roblox#116 - allow relative paths in mounts.
* Add test.

Signed-off-by: Shishir Mahajan <[email protected]>
* fix entrypoint override (Roblox#124)
In case of entrypoint override, image config needs to be passed.
* rename test file numbers

Co-authored-by: n-marton <[email protected]>
Co-authored-by: Shishir <[email protected]>
Co-authored-by: Jonathan Cross <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants