Skip to content

Commit

Permalink
fix: remove webrick 1.4.2 due to vulnerabilities
Browse files Browse the repository at this point in the history
Fixes: #29
  • Loading branch information
bethesque committed Jul 24, 2020
1 parent 85944c8 commit bbd4c21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ RUN set -ex && \
gem install bundler -v $(cat BUNDLER_VERSION) && \
ls /usr/local/lib/ruby/gems/2.6.0 && \
gem uninstall --install-dir /usr/local/lib/ruby/gems/2.6.0 -x rake && \
find /usr/local/lib/ruby -name webrick* -exec rm -rf {} + && \
gem install webrick -v '~>1.6' && \
bundle config set deployment 'true' && \
bundle config set no-cache 'true' && \
bundle install --without='development test' && \
Expand Down

0 comments on commit bbd4c21

Please sign in to comment.