-
Notifications
You must be signed in to change notification settings - Fork 60
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
Use official node:alpine #11
Conversation
Check this: mhart/alpine-node#76 nodejs/docker-node#156 The official one have also less security issues.
@Unitech currently :latest intalls node 7 and this will break lots of project based on this image. What do you think about creating more branches? Here you can see all nodejs tags available: My suggestion will be to add these branches: |
@simonepri I just gave you the contributor permission on this repository, feel free to update the branches so we can have different image with different nodejs versions |
@Unitech What you think about the usage of folders instead of branches? I think is more clear and maintenable. Because with folder anyone could create a pullrequest in order to add other versions in the future. |
Having multiple branches allow the docker registry to automatically build different Docker images https://hub.docker.com/r/keymetrics/pm2-docker-alpine/ So keeping that structure is better |
The docker registry is also able to automatically build different docker images using different Dockerfiles (pointing each tag to a different dockerfile) in the repo. In this way you don't have to create multiple unmantained branches |
I did not know! So let's switch to different folders instead of different branches |
Are you sure? Take a look into the docker registry to see how you can do it: If you agree I will create a pull request with the modifications |
Alright I found the page to edit the build settings |
@simonepri would love to know more about this "Docker Cloud reports lots of CVE" claim that you've made? |
@simonepri the official Docker image was based off mine – it's the same alpine version and contains the same packages – so I'd be fascinated to know how there's a difference in CVE issues? (I'm not suggesting to stick with my image btw – please do move to the official one – just concerned about this claim) |
@mhart currently I'm not able to show you it, but on Docker Cloud each time you build your image it has a service that scans the image and reports you if there are CVE. |
@simonepri would be great if you could show it to me – just a screenshot or whatever. Just unclear as to whether there's actual CVEs, or just that it couldn't scan it properly because it wasn't a "blessed" image like the official one is. |
@mhart I will do it as soon as possible 👍 |
@Unitech sorry I've just pushed the modification to this repo insted on the mine forked one, I've just reverted. I'm going to open a pull request. |
Hello, @Unitech
Check this:
mhart/alpine-node#76
nodejs/docker-node#156
The official one also have less CVE issues (whit the one from @mhart Docker Cloud reports lots of CVE).
Best regards,
Simone