Skip to content

Commit 69a8156

Browse files
committed
fix(ruby): update rubygems
Update rubygems for vulnerabilities listed here: # https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/
1 parent 738d558 commit 69a8156

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ ADD pact_broker/Gemfile $APP_HOME/
1616
ADD pact_broker/Gemfile.lock $APP_HOME/
1717
RUN chown -R app:app $APP_HOME
1818

19+
# Update system gems for:
20+
# https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/
21+
RUN gem update --system
22+
RUN gem install bundler
1923
RUN su app -c "cd $APP_HOME && bundle install --deployment --without='development test'"
2024
ADD pact_broker/ $APP_HOME/
2125
RUN chown -R app:app $APP_HOME

0 commit comments

Comments
 (0)