-
Notifications
You must be signed in to change notification settings - Fork 88
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
chore(docker): use node:18-slim base image #728
Conversation
|
Use latest pnpm version. Remove Docker build action timeouts.
9149322
to
18a8054
Compare
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'm happy to abandon my PR in favor for yours.
packages/auth/Dockerfile
Outdated
@@ -1,12 +1,13 @@ | |||
FROM node:16.17.1-slim as builder | |||
FROM node:18-slim as builder |
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.
Should we specify a specific version to make use of the cache? I think 18-slim
resolves to the latest version.
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.
latest
is actually 19
now.
https://hub.docker.com/_/node
Do you mean node:18.13-slim
or specifying the sha256
?
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.
Yeah, I meant the latest version of 18
. I was actually thinking of something like 18.13.0-slim
to have a very specific version.
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'm ok with that.
Can we get renovatebot to help us update it?
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.
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.
Looks like the guy who wanted to do the pinning feature hasn't gotten to it yet.
Changes proposed in this pull request
This will require updating node locally and possibly reinstalling
pnpm
rafiki/packages/auth/Dockerfile
Line 13 in 0259918
main
& tags, which should help with:Docker workflow sporadic failures #985
Context
Checklist
fixes #number