-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
update docker image #2406
update docker image #2406
Conversation
|
Performance Test Results The following fails have been reported by WebpageTest. These numbers indicates a possible performance issue with the PR which requires further manual testing to validate. https://pr-2406.pwa-venia.com : LH Performance Expected 0.85 Actual 0.52, LH Best Practices Expected 1 Actual 0.92 |
If #2298 breaks on node 10 shouldn't we also bump https://github.com/magento/pwa-studio/blob/develop/package.json#L89 to 12? |
Specifically, Its node 10.14.1, which is too old. anything > 10.14.1 works. I also tested with 10.14.2 and it works c278552. Updating CI to node docker 12 to be more future proof. |
@dpatil-magento We could choose to declare what point-release ranges of LTS we support. It's not realistic for us to say we support all of 10.x, or all of 12.x, but we could choose a realistic set. |
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, but I had one question about using an lts
alias for easier future maintenance.
@@ -2,7 +2,7 @@ | |||
# This file is intended to be used with ./docker-compose.yml # | |||
############################################################## | |||
|
|||
FROM node:10.14.1-alpine as build | |||
FROM node:12.16.3-alpine as build |
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.
Is it our policy to always specify an exact version when pulling the docker image? This could auto-update to the most recent LTS version if you used the alias node:lts-alpine
.
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.
We use exact working version to avoid any bugs in latest version might have. In this way our CI env would be more stable.
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.
But I can have test pr to try node:lts-alpine
and track it for 10-15 days and then discuss the outcomes.
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.
I understand that we're testing using an lts
alias elsewhere. Meanwhile, LGTM!
Description
Current docker image is too old and once #2298 is merged, build and deploy jobs will fail. Updated to near latest node 12 image.
Related Issue
Closes #ISSUE_NUMBER.
Acceptance
Verification Stakeholders
Specification
Verification Steps
bash docker/run-docker
should work.Screenshots / Screen Captures (if appropriate)
Checklist
[ ] I have added tests to cover my changes, if necessary.