Skip to content

Commit

Permalink
fix: update to rdoc 6.3.2 for CVE-2021-31799
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 8, 2021
1 parent 22188c2 commit 1e055db
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 @@ -27,8 +27,10 @@ RUN set -ex && \
apk upgrade && \
gem install bundler -v $(cat BUNDLER_VERSION) && \
ls /usr/local/lib/ruby/gems/2.6.0 && \
gem install rdoc -v "6.3.2" --install-dir /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 {} + && \
find /usr/local/lib/ruby -name rdoc-6.1* -exec rm -rf {} + && \
bundle config set deployment 'true' && \
bundle config set no-cache 'true' && \
bundle install --without='development test' && \
Expand Down

0 comments on commit 1e055db

Please sign in to comment.