-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from pact-foundation/deps/alpine_3.19
deps: update base image to alpine 3.19
- Loading branch information
Showing
5 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.18 | ||
FROM alpine:3.19 | ||
|
||
LABEL maintainer="Beth Skurrie <[email protected]>" | ||
|
||
|
@@ -9,24 +9,24 @@ ADD docker/gemrc /root/.gemrc | |
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=20230506-r0 \ | ||
&& apk add ruby=3.2.4-r0 \ | ||
ruby-io-console=3.2.4-r0 \ | ||
ca-certificates=20240226-r0 \ | ||
libressl \ | ||
less \ | ||
git \ | ||
&& apk add --virtual "build-dependencies" \ | ||
build-base=0.5-r3 \ | ||
ruby-dev=3.2.2-r0 \ | ||
ruby-dev=3.2.4-r0 \ | ||
libressl-dev \ | ||
ruby-rdoc=3.2.2-r0 \ | ||
&& gem install bundler -v 2.4 \ | ||
ruby-rdoc=3.2.4-r0 \ | ||
&& 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/* \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.19 | ||
|
||
LABEL maintainer="Beth Skurrie <[email protected]>" | ||
|
||
|
@@ -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 \ | ||
|
@@ -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 \ | ||
|
@@ -51,7 +50,7 @@ ADD Gemfile . | |
ADD Gemfile.lock . | ||
ADD lib/pact/cli/version.rb ./lib/pact/cli/version.rb | ||
RUN bundle install --without test development --deployment true \ | ||
&& find /usr/lib/ruby/gems/3.1.0/gems -name Gemfile.lock -maxdepth 2 -delete | ||
&& find /usr/lib/ruby/gems/3.2.0/gems -name Gemfile.lock -maxdepth 2 -delete | ||
ADD docker/entrypoint.sh $HOME/entrypoint.sh | ||
ADD bin ./bin | ||
ADD lib ./lib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters