-
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 #132 from pact-foundation/snyk-fix-4f29b86c268c5e9…
…bc21ef68bdcfeed94 [Snyk] Security upgrade alpine from 3.19 to 3
- Loading branch information
Showing
9 changed files
with
42 additions
and
28 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
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
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 +1 @@ | ||
3.2 | ||
3.3.3 |
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.19 | ||
FROM alpine:3.20 | ||
|
||
LABEL maintainer="Beth Skurrie <[email protected]>" | ||
|
||
|
@@ -9,33 +9,34 @@ ADD docker/gemrc /root/.gemrc | |
ADD docker/pact /usr/local/bin/pact | ||
|
||
RUN apk update \ | ||
&& apk add ruby=3.2.4-r0 \ | ||
ruby-io-console=3.2.4-r0 \ | ||
&& apk add ruby=3.3.3-r0 \ | ||
ruby-io-console=3.3.3-r0 \ | ||
ca-certificates=20240226-r0 \ | ||
libressl \ | ||
less \ | ||
git \ | ||
&& apk add --virtual "build-dependencies" \ | ||
build-base=0.5-r3 \ | ||
ruby-dev=3.2.4-r0 \ | ||
ruby-dev=3.3.3-r0 \ | ||
libressl-dev \ | ||
ruby-rdoc=3.2.4-r0 \ | ||
ruby-rdoc=3.3.3-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 update --system 3.5.14 \ | ||
&& gem install json -v "~>2.3" \ | ||
&& gem install bigdecimal -v "~>3.1" \ | ||
&& gem install racc -v "~>1.8" \ | ||
&& gem cleanup \ | ||
&& apk del build-dependencies \ | ||
&& rm -rf /usr/lib/ruby/gems/*/cache/* \ | ||
/var/cache/apk/* \ | ||
/tmp/* \ | ||
/var/tmp/* | ||
|
||
ENV HOME /pact | ||
ENV DOCKER true | ||
ENV HOME=/pact | ||
ENV DOCKER=true | ||
ENV BUNDLE_GEMFILE=$HOME/Gemfile | ||
WORKDIR $HOME | ||
|
||
|
@@ -46,7 +47,7 @@ ADD lib/pact/cli/version.rb ./lib/pact/cli/version.rb | |
RUN bundle config set without 'test development' \ | ||
bundle config set deployment 'true' \ | ||
&& bundle install \ | ||
&& find /usr/lib/ruby/gems/3.2.0/gems -name Gemfile.lock -maxdepth 2 -delete | ||
&& 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 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ARG NODE_VERSION=18 | ||
FROM node:${NODE_VERSION}-alpine3.19 | ||
FROM node:${NODE_VERSION}-alpine3.20 | ||
|
||
LABEL maintainer="Beth Skurrie <[email protected]>" | ||
|
||
|
@@ -32,16 +32,18 @@ RUN apk update \ | |
&& bundler -v \ | ||
&& bundle config build.nokogiri --use-system-libraries \ | ||
&& bundle config git.allow_insecure true \ | ||
&& gem update --system \ | ||
&& gem update --system 3.5.14 \ | ||
&& gem install json -v "~>2.3" \ | ||
&& gem install bigdecimal -v "~>3.1" \ | ||
&& gem install racc -v "~>1.8" \ | ||
&& gem cleanup \ | ||
&& rm -rf /usr/lib/ruby/gems/*/cache/* \ | ||
/var/cache/apk/* \ | ||
/tmp/* \ | ||
/var/tmp/* | ||
|
||
ENV HOME /pact | ||
ENV DOCKER true | ||
ENV HOME=/pact | ||
ENV DOCKER=true | ||
ENV BUNDLE_GEMFILE=$HOME/Gemfile | ||
WORKDIR $HOME | ||
|
||
|
@@ -50,7 +52,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.2.0/gems -name Gemfile.lock -maxdepth 2 -delete | ||
&& 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 | ||
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