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

[bitnami/java] Run java as run root user #43211

Closed
baedorf opened this issue Aug 2, 2023 · 3 comments
Closed

[bitnami/java] Run java as run root user #43211

baedorf opened this issue Aug 2, 2023 · 3 comments
Assignees
Labels
feature-request java solved stale 15 days without activity triage Triage is needed

Comments

@baedorf
Copy link

baedorf commented Aug 2, 2023

Name and Version

bitnami/java:17

What is the problem this feature will solve?

According to the documentation, It seems to me that the java app is running as the root user.
This could lead to security problems.

What is the feature you are proposing to solve the problem?

Please change behaviour to run the java app as a non root user, like in many of your other containers.

What alternatives have you considered?

No response

@github-actions github-actions bot added the triage Triage is needed label Aug 2, 2023
@javsalgar javsalgar changed the title Run java as run root user [bitnami/java] Run java as run root user Aug 2, 2023
@javsalgar javsalgar added the java label Aug 2, 2023
@javsalgar
Copy link
Contributor

Hi,

The reasoning behind having a root user by default is because it is a development container, therefore we want to provide more flexibility for devs to work with the container. If you are using the container for your final application, you can change the user to a non-root one like 1001 just by setting the user section in the docker-compose, or the -u in docker run.

@github-actions
Copy link

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Aug 18, 2023
@github-actions
Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request java solved stale 15 days without activity triage Triage is needed
Projects
None yet
Development

No branches or pull requests

3 participants