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 permission issues with Dockerfile nonroot implementation #274

Merged
merged 5 commits into from
Mar 15, 2024

Conversation

tobiasehlert
Copy link
Owner

This addresses issue with container being run with nonroot that results in permission denied.

fix #273

- changing workdir to /opt/app
- setting folder-permissions to nonroot
- reordering Dockerfile parts
@tobiasehlert tobiasehlert added bug Something isn't working docker Pull requests that update Docker code labels Mar 15, 2024
@tobiasehlert tobiasehlert self-assigned this Mar 15, 2024
preventing write-permissions on executable

fix docker:S6504
supposed to be: r-xr--r--

fix: 75e9165
Copy link

sonarcloud bot commented Mar 15, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@tobiasehlert tobiasehlert merged commit 67e6ab2 into main Mar 15, 2024
4 checks passed
@tobiasehlert tobiasehlert deleted the bug-273 branch March 15, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docker Pull requests that update Docker code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Permission denied error while starting container with version 1.17.0
1 participant