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

Allow running ambassador as a non-privileged user #510

Closed

Conversation

concaf
Copy link
Contributor

@concaf concaf commented Jun 11, 2018

This commit lets ambassador to be run as a non-root user and
moves all ambassador related configurations to /ambassador
inside the container.

@concaf concaf changed the title Create configuration directories in /ambassador/ instead of /etc/ [WIP] Create configuration directories in /ambassador/ instead of /etc/ Jun 11, 2018
@concaf concaf force-pushed the concaf/fix/non-root-dockerfile branch 4 times, most recently from 2fb3b59 to a885deb Compare June 11, 2018 15:24
This commit lets ambassador to be run as a non-root user and
moves all ambassador related configurations to /ambassador
inside the container.

Fix emissary-ingress#457
@concaf concaf force-pushed the concaf/fix/non-root-dockerfile branch from a885deb to fe09efe Compare June 11, 2018 15:40
@concaf concaf changed the title [WIP] Create configuration directories in /ambassador/ instead of /etc/ Allow running ambassador as a non-privileged user Jun 11, 2018
@concaf
Copy link
Contributor Author

concaf commented Jun 11, 2018

@kflynn ready for review, PTAL!
One way to test this locally to run the resulting container image using with a random user -
docker run --user 10001 --rm <image name>

@concaf
Copy link
Contributor Author

concaf commented Jun 14, 2018

Closing in favor of #524

@concaf concaf closed this Jun 14, 2018
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.

1 participant