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
build: switch nginx docker base image to unprivileged version #902
Conversation
Preview environmenthttps://shlinkio.github.io/shlink-web-client/unpriv-container/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I'm generally in favor of not running the image as root, but I added some questions before going forward.
EDIT: Also, please rebase when you have a minute. I merged some dependabot PRs and there seems to have some conflicts now.
Hello, thanks for looking into this. I tried to give more insights to the changes. Please let me know if there are any more questions I can help with. I'll rebase it later this weekend. |
Thanks @aschaber1. I'm ok going forward with this, just make sure you rebase from After that I will test the image and merge it if everything goes right. |
db4e9c9
to
7eae695
Compare
Hello @acelaya, I just pushed the updated commit. Did the updates in terms of registry as you suggested. Let me know, if there's something else I can do :) |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## develop #902 +/- ##
========================================
Coverage 86.61% 86.61%
========================================
Files 54 54
Lines 2226 2226
Branches 291 291
========================================
Hits 1928 1928
Misses 8 8
Partials 290 290 ☔ View full report in Codecov by Sentry. |
@acelaya I found this blog post from Red Hat regarding using shortnames, and how it might also break things. |
Hello,
I switched the base image from nginx (privileged) to nginx unprivileged. Also updated the nginx config and README.
Looking forward to your feedback.