Skip to content

Commit

Permalink
deps: update bundler to 2.5.9 / build bigdecimal from source
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Apr 23, 2024
1 parent ab3e8a0 commit fe10bdd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ADD docker/pact /usr/local/bin/pact

RUN apk update \
&& apk add ruby=3.2.2-r0 \
ruby-bigdecimal=3.2.2-r0 \
ruby-io-console=3.2.2-r0 \
ca-certificates=20240226-r0 \
libressl \
Expand All @@ -21,12 +20,13 @@ RUN apk update \
ruby-dev=3.2.2-r0 \
libressl-dev \
ruby-rdoc=3.2.2-r0 \
&& gem install bundler -v 2.4 \
&& gem install bundler -v "~>2.5" \
&& bundler -v \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure true \
&& gem update --system \
&& gem install json -v "~>2.3" \
&& gem install bigdecimal -v "~>3.1" \
&& gem cleanup \
&& apk del build-dependencies \
&& rm -rf /usr/lib/ruby/gems/*/cache/* \
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile-node
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG NODE_VERSION=18
FROM node:${NODE_VERSION}-alpine3.17
FROM node:${NODE_VERSION}-alpine3.18

LABEL maintainer="Beth Skurrie <[email protected]>"

Expand All @@ -16,7 +16,6 @@ ADD docker/pact /usr/local/bin/pact

RUN apk update \
&& apk add ruby \
ruby-bigdecimal \
ruby-bundler \
ruby-io-console \
ca-certificates \
Expand All @@ -29,7 +28,7 @@ RUN apk update \
libressl-dev \
ruby-rdoc \
\
&& gem install bundler -v 2.4.12 \
&& gem install bundler -v "~>2.5" \
&& bundler -v \
&& bundle config build.nokogiri --use-system-libraries \
&& bundle config git.allow_insecure true \
Expand Down
5 changes: 2 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ PATH
remote: .
specs:
pact-cli (1.1.0)
bigdecimal (= 3.1.3)
json (~> 2.3)
pact-mock_service
pact-provider-verifier
Expand All @@ -20,7 +19,7 @@ GEM
remote: https://rubygems.org/
specs:
awesome_print (1.9.2)
bigdecimal (3.1.3)
bigdecimal (3.1.7)
bump (0.10.0)
coderay (1.1.3)
diff-lcs (1.5.1)
Expand Down Expand Up @@ -137,4 +136,4 @@ DEPENDENCIES
rspec (~> 3.0)

BUNDLED WITH
2.4.12
2.5.9
1 change: 0 additions & 1 deletion pact-cli.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Gem::Specification.new do |spec|
spec.add_dependency "pact-provider-verifier"
spec.add_dependency "pact_broker-client", "~> 1.28"
spec.add_dependency "json", "~>2.3" # must match native lib install in the Dockerfile
spec.add_dependency "bigdecimal", "3.1.3" # pin to std gem version https://stdgems.org/3.2.2/

# Locking this until we have given rack-test 3.0 a good shake out in pure Ruby
spec.add_dependency "rack-test", ">= 0.6.3", "< 2.0.0"
Expand Down

0 comments on commit fe10bdd

Please sign in to comment.