docker-ruby-node icon indicating copy to clipboard operation
docker-ruby-node copied to clipboard

Images for exact Ruby and Node versions

Open thisismydesign opened this issue 4 years ago • 2 comments

Hey, I've been looking for something like this since forever and your project looks promising. However, most projects I work with pin exact versions, such as Ruby 3.0.3 and Node 16.13.0. Would it be possible to build against a matrix of exact versions of Ruby and Node?

thisismydesign avatar Dec 02 '21 13:12 thisismydesign

I guess the issue with this is the same as the reason I'm here: building custom versions together. Your Dockerfile for alpine grabs node from the alpine package manager without specifying the version:

https://github.com/timbru31/docker-ruby-node/blob/fec0ad07e904cba62b2565b804b24fb5708512dd/3.0/16/alpine/Dockerfile#L7-L11

Because they don't keep previous versions of the packages in their repo, if a new Ruby version comes out it's not possible this way to build images for all the old versions of node.

Looks like I answered my own question here but if you were to support this somehow, that would be awesome :)

thisismydesign avatar Dec 02 '21 13:12 thisismydesign

Hi, sorry for the late reply. I'll leave this open as a suggestion of this can be done without complicating the build process even more.

timbru31 avatar Jan 10 '22 08:01 timbru31