Closed pmq20 closed 3 years ago
@Resonious can you help us review this PR, please?
Thank you Nigel for reviewing! Hi David, could you help me push this new tag to Quay? Thank you! @davidsiaw
Hi @pmq20 thanks for the PR. In the case of deprecation and death of older frameworks and updates to 2.7 please just replace the contents of the 2.7 directory.
@davidsiaw @pmq20 I think I mentioned this before on Slack, but simply updating 2.7
will break hats builds.
We'll first need to update hats's Gemfile
to require ~> 2.7
instead of 2.7.2
.
Or maybe we can get away with removing the ruby requirement from the Gemfile altogether.
@Resonious That's a good point. I also read that in the chat history. I also read Tim's comment on the benefit of keeping Ruby requirement in the Gemfile. That's why I decided to create new tag at the end of the day (yesterday). Hi David, what do you think? @davidsiaw
ping @davidsiaw
@pmq20 sorry I didn't see the subsequent message. I still think removing the ruby requirement is easier since it kind of means we will always have a broken build, but that breaks some developer workflows.
I also think maybe we should change up the way we tag images. Right now we separate them by directory but that is so SVN. I will quickly make you a tag on quay that you can use while I tidy this up.
@davidsiaw Thanks! I will work on removing the Ruby requirement.
Why Node.js LTS (14.16.1)
We are still using Node.js v10 in our build pipelines, but it has come to EOL. Also, referencing
lts
in https://deb.nodesource.com/setup_lts.x keeps us using the latest stable without manual upgrades in the future.Why Renaming
rails-buildpack/2.7.3-old-openssl/Dockerfile
torails-buildpack/2.7.3/Dockerfile
Old openssl inside the buildpack turned out to be unnecessary, and we also wanted to take this opportunity to upgrade our minor Ruby version.
How to test
docker build rails-buildpack/2.7.3 -t 2.7.3-and-nodejs
docker run --rm -it 2.7.3-and-nodejs bash
ruby --version
and confirm that it isruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-linux]
node --version
and confirm that it isv14.16.1
yarn --version
and confirm that it is1.22.10