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

ci: update node version in docker #956

Merged
merged 2 commits into from
Jun 20, 2022
Merged

ci: update node version in docker #956

merged 2 commits into from
Jun 20, 2022

Conversation

TarikGul
Copy link
Member

No description provided.

@TarikGul TarikGul requested a review from a team as a code owner June 13, 2022 15:15
@TarikGul TarikGul requested a review from a team June 13, 2022 15:15
Dockerfile Outdated
@@ -1,4 +1,4 @@
FROM docker.io/library/node:15 as builder
FROM docker.io/library/node:16 as builder
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both FROM docker.io... should have the same node version? 16.15.1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It depends on what we are trying to achieve. If we keep node:16 then docker will use the latest image version. Otherwise the version will be constant (e.g. 16.15.1).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the point here is to use a fixed, reproducable version of node for the built image, but to allow minor updates and such in the container used to do the building?

I've no strong opinion either way; I'd probably lean to using 16.15.1 in both places to keep both stages as reproducable as possible (with the tradeoff of not getting security updates to either), but shrug!

@TarikGul TarikGul self-assigned this Jun 16, 2022
@TarikGul TarikGul merged commit a6a4bdb into master Jun 20, 2022
@TarikGul TarikGul deleted the tarik-docker-nodev branch June 20, 2022 18:31
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants