-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
[Deps] Upgrade ast-types-flow to mitigate Docker user namespacing problems #930
[Deps] Upgrade ast-types-flow to mitigate Docker user namespacing problems #930
Conversation
…blems Version 0.0.7 had a problem with a very high user id, which lead to problems when used in Docker with user namespacing. For some details check: kyldvs/ast-types-flow#5
Codecov Report
@@ Coverage Diff @@
## main #930 +/- ##
=======================================
Coverage 99.29% 99.29%
=======================================
Files 104 104
Lines 1554 1554
Branches 522 522
=======================================
Hits 1543 1543
Misses 11 11 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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! This is a dev dep tho, so i'm not sure why it would be an issue for anyone who's not actively maintaining this package :-)
Thanks for the quick merge. Unfortunately in one of my client projects the dev dependencies end up in the container's intermediate layers to allow the build to happen within the Dockerfile, so this fixes it :) |
That's surprising since there's no build needed - the build output is part of the npm package already. |
Sorry for being unclear. In this case it's another project that depends on |
I’m still unclear on how that’s possible unless they’re incorrectly running |
Dockerfile: FROM node:18.16.0-slim
COPY package*.json ./
RUN npm ci and the package.json: {
"devDependencies": {
"eslint-plugin-jsx-a11y": "^6.7.1"
}
} And since I didn't have access to the Dockerfile for reasons, this has been the best option. |
I'd suggest making a new lockfile from scratch; dev deps of your dev deps (or deps) should never be installed. |
Version 0.0.7 had a problem with a very high user id, which lead to problems when used in Docker with user namespacing. For some details check: kyldvs/ast-types-flow#5