-
Notifications
You must be signed in to change notification settings - Fork 0
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
WEB-6755: Gem updates #238
Conversation
.ruby-version
Outdated
@@ -1 +1 @@ | |||
3.2.0 | |||
3.3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be better to keep it at 3.2 to be consistent with Dockerfile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my mistake—I attempted to get to 3.3 and had to rollback. Forgot to do here—thanks!
.rubocop.yml
Outdated
@@ -1,5 +1,5 @@ | |||
AllCops: | |||
TargetRubyVersion: 3.2 | |||
TargetRubyVersion: 3.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be better to keep it at 3.2 to be consistent with Dockerfile
@@ -55,20 +55,6 @@ def slides | |||
snapshotter.generate | |||
end | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this works?
I guess I had reviewed the module text/video content UI using it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should work...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
ENV RUBY_ENV=${RUBY_ENV} | ||
|
||
ARG RUNTIME_PACKAGES="imagemagick git tzdata" | ||
ARG TEST_AND_DEV_PACKAGES="bash build-base libsodium-dev" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we don't need libsodium-dev
here as we are already copying libsodium
from builder below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure whether it might also need header files or something else that might be part of the package when building a new version of the gem? Since this was only for test and development I thought it could probably stay in.
Attempting to upgrade to ruby 3.3, but it doesn't work on aarch64 yet
Upgraded gems tho, and attempted to make a multi-stage build Dockerfile. Please check this cos I'm not 100% of what I'm doing.
Not 100% I've got it right, but if I have, it's a size reduction from 600MB to 200MB, on the one image where the size does actually matter :)