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

Images for exact Ruby and Node versions #592

Open
thisismydesign opened this issue Dec 2, 2021 · 2 comments
Open

Images for exact Ruby and Node versions #592

thisismydesign opened this issue Dec 2, 2021 · 2 comments

Comments

@thisismydesign
Copy link

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
Copy link
Author

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:

RUN apk -U upgrade \
&& apk add --repository https://dl-cdn.alpinelinux.org/alpine/edge/main/ --no-cache \
nodejs \
npm \
yarn

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 :)

@timbru31
Copy link
Owner

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.

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

No branches or pull requests

2 participants