Closed Resonious closed 3 years ago
@thoiberg can you help us review this PR, please?
@Metallion can you help us review this PR, please?
@Resonious is it ok that it's using the 1.1.1d library?
Aha, yeah, the version Andreas used said
OpenSSL 1.1.0l 10 Sep 2019 (Library: OpenSSL 1.1.1d 10 Sep 2019)
, so I think we're good.
Also maybe we can remove the two trailing empty lines?
@Metallion Thanks! The production consoles are actually running directly on ruby:2.7.2-slim
, which likely does not have wget
(while the non-slim ones do). So I will have to amend the Dockerfile in hats as well. Come to think of it, this change might not be strictly necessary since we don't hit BizStation until after build, but I'll keep it for the Ruby minor version bump :sunglasses:
Turns out bizstation doesn't work with OpenSSL 1.1.1, but does work with 1.1.0. I guess OpenSSL doesn't use semantic versioning!
Since Ruby does use semantic versioning, I decided to bump Ruby from 2.7.2 to 2.7.3 as well. Since it's a bit of a pain to update our Ruby version, I figured I'd use this as an opportunity to do so.
How to test
docker build rails-buildpack/2.7.3-old-openssl -t bp-test
docker run --rm -it bp-test bash
ruby --version
- confirm that it is 2.7.3.openssl version
- confirm that it is 1.1.0.