Skip to content

Commit

Permalink
Try once more in production
Browse files Browse the repository at this point in the history
  • Loading branch information
iHiD committed Jan 31, 2024
1 parent b32ba04 commit dd000c6
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docker/rails.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,22 @@ RUN apt-get update && \

WORKDIR /opt/exercism/website

RUN gem install bundler -v "${BUNDLER_VERSION}"
RUN gem install --default bundler -v "${BUNDLER_VERSION}"

RUN bundle config set frozen 'true' && \
bundle config set without 'development test' && \
bundle config set ignore_funding_requests 'true' && \
bundle config set ignore_messages 'true' && \
bundle config set system 'true' && \
bundle config set disable_shared_gems 'false' && \
bundle config set version "${BUNDLER_VERSION}"

RUN gem install propshaft -v 0.4.0
RUN gem install nokogiri -v 1.15.4
RUN gem install anycable -v 1.2.5
RUN gem install oj -v 3.14.2
RUN gem install rugged -v 1.6.3

RUN echo $(bundle config list)

RUN bundle config set deployment 'true' && \
bundle config set without 'development test' && \
bundle config set disable_shared_gems 'false' && \
bundle config set ignore_funding_requests 'true' && \
bundle config set ignore_messages 'true'

RUN echo $(bundle config list)

# Only Gemfile and Gemfile.lock changes require a new bundle install
COPY Gemfile Gemfile.lock ./
RUN bundle install && \
Expand Down

0 comments on commit dd000c6

Please sign in to comment.