Skip to content

Commit

Permalink
Merge pull request #595 from IU-Libraries-Joint-Development/backport-…
Browse files Browse the repository at this point in the history
…Dockerfile_tweak

backport Dockerfile change to resolve bundler/byebug conflict
  • Loading branch information
aploshay authored Dec 18, 2023
2 parents e38cc9a + b37dfd2 commit 27828d7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ COPY --chown=essi:essi Gemfile Gemfile.lock ./
# DEV ONLY - REMOVE LATER
# COPY --chown=essi:essi vendor/engines/bulkrax /app/vendor/engines/bulkrax
# COPY --chown=essi:essi vendor/engines/allinson_flex /app/vendor/engines/allinson_flex
RUN gem update bundler
# hold back from bundler 2.5 onwards until ruby is updated
# RUN gem update bundler
RUN gem install bundler -v "~> 2.4.22"
RUN bundle install -j 2 --retry=3

COPY --chown=essi:essi . .
Expand All @@ -65,7 +67,9 @@ RUN bundle config --global frozen 1
COPY --chown=essi:essi Gemfile Gemfile.lock ./
# DEV ONLY - REMOVE LATER
# COPY vendor/engines/allinson_flex vendor/engines/allinson_flex
RUN gem update bundler && \
# hold back from bundler 2.5 onwards until ruby is updated
# RUN gem update bundler && \
RUN gem install bundler -v "~> 2.4.22" && \
bundle install -j 2 --retry=3 --deployment --without development

COPY --chown=essi:essi . .
Expand Down

0 comments on commit 27828d7

Please sign in to comment.