-
Notifications
You must be signed in to change notification settings - Fork 87
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(deps): upgrade node, alpine and chromium #363
Conversation
a281c46
to
cc2a34e
Compare
Dockerfile.production
Outdated
RUN apk update && apk upgrade && \ | ||
apk --no-cache add --virtual native-deps \ | ||
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python git curl && \ | ||
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python2 git curl && \ |
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.
What is this python dependency used for anyways? I don't see any need for it in the prod dockerfile, since we don't use pip 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.
node-gyp requires python dependency; there was a note in the troubleshooting guide that node-gyp only supports python 2 but that this is no longer the case; I've also updated the troubleshooting guide
Dockerfile.development
Outdated
@@ -8,12 +8,15 @@ ENV NODE_ENV=development | |||
RUN apk update && apk upgrade && \ | |||
# Build dependencies for node_modules | |||
apk add --virtual native-deps \ | |||
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python git curl \ | |||
# Python version must be specified starting in alpine3.12 | |||
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python2 git curl \ |
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.
will python3 not work? python2 has reached end of life
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.
as above, changed to python3
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.
lgtm!
Co-authored-by: Kar Rui Lau <[email protected]>
058ccbc
to
12d16bd
Compare
Problem
Closes #10
Solution