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

Update Dockerfile to use Ruby 3.1.4-alpine3.18 #3148

Merged
merged 3 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
3.1.4
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.1.0-alpine3.15
FROM ruby:3.1.4-alpine3.18

ENV RAILS_ENV=production \
NODE_ENV=production \
Expand All @@ -24,11 +24,8 @@ RUN apk update && apk add -Uu --no-cache zlib-dev busybox ncurses

# hadolint ignore=DL3018
RUN apk add -U --no-cache bash build-base git tzdata libxml2 libxml2-dev \
postgresql-libs postgresql-dev nodejs yarn \
chromium=99.0.4844.84-r0 chromium-chromedriver=99.0.4844.84-r0

# Remove once base image ruby:3.1.0-alpine3.15 has been updated
RUN apk add --no-cache gmp=6.2.1-r1 libretls=3.3.4-r3
postgresql-libs postgresql-dev nodejs yarn \
chromium chromium-chromedriver

# Copy Entrypoint script
COPY script/docker-entrypoint.sh .
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ DEPENDENCIES
yabeda-sidekiq

RUBY VERSION
ruby 3.1.0p0
ruby 3.1.4p223

BUNDLED WITH
2.3.10
Loading