Skip to content

Commit

Permalink
chore: fixup bundler deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Nov 22, 2024
1 parent 5452fbd commit ef92d4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN apk update \
&& bundler -v \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure true \
&& gem update --system 3.5.20 \
&& gem update --system 3.5.23 \
&& gem install json -v "~>2.7.6" \
&& gem install bigdecimal -v "~>3.1" \
&& gem install racc -v "~>1.8" \
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile-bundle-base
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN apk update \
ruby-rdoc \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure true \
&& gem update --system 3.5.20 \
&& gem update --system 3.5.23 \
&& gem install json \
&& gem install bigdecimal \
&& gem install racc \
Expand All @@ -32,4 +32,6 @@ WORKDIR $HOME

ADD pact-cli.gemspec Gemfile Gemfile.lock $HOME/
ADD lib/pact/cli/version.rb $HOME/lib/pact/cli/version.rb
RUN bundle install --without test development
RUN bundle config set without 'test development' \
bundle config set deployment 'true' \
&& bundle install
6 changes: 4 additions & 2 deletions Dockerfile-node
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN apk update \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure true \
&& gem update --system 3.5.20 \
&& gem install json -v "~>2.3" \
&& gem install json -v "~>2.7.6" \
&& gem install bigdecimal -v "~>3.1" \
&& gem install racc -v "~>1.8" \
&& gem uninstall rubygems-update \
Expand All @@ -52,7 +52,9 @@ ADD pact-cli.gemspec .
ADD Gemfile .
ADD Gemfile.lock .
ADD lib/pact/cli/version.rb ./lib/pact/cli/version.rb
RUN bundle install --without test development --deployment true \
RUN bundle config set without 'test development' \
bundle config set deployment 'true' \
&& bundle install \
&& find /usr/lib/ruby/gems/3.3.0/gems -name Gemfile.lock -maxdepth 2 -delete
ADD docker/entrypoint.sh $HOME/entrypoint.sh
ADD bin ./bin
Expand Down

0 comments on commit ef92d4c

Please sign in to comment.