Skip to content

Update ruby builder and base #259

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7.4-buster as builder
FROM ruby:3.1.2-buster as builder

ADD ./ /app/
WORKDIR /app
Expand All @@ -8,7 +8,7 @@ RUN bundle install

RUN bundle exec rake build -t -v

FROM registry.access.redhat.com/ubi8/ruby-27
FROM registry.access.redhat.com/ubi8/ruby-31

ARG VERSION

Expand Down Expand Up @@ -50,4 +50,4 @@ RUN groupadd -r $FLUENT_USER && \
chown -R $FLUENT_USER /fluentd && chgrp -R $FLUENT_USER /fluentd

USER $FLUENT_USER
CMD bundle exec fluentd -c /fluentd/etc/fluent.conf
CMD bundle exec fluentd -c /fluentd/etc/fluent.conf