Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #511 from rrazor/fix_510
Browse files Browse the repository at this point in the history
Fix 510: tweak Dockerfile to work around upstream environment issue with Ruby 2.7.0
  • Loading branch information
Jonathan Claudius authored Jan 6, 2020
2 parents 9591e92 + 90ed410 commit 143dc2f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ WORKDIR /app
# required for ssh-keyscan
RUN apk --update add openssh-client

RUN apk --update add --virtual build-dependencies ruby-dev build-base && \
gem install bundler && \
ENV GEM_HOME /usr/local/bundle/ruby/$RUBY_VERSION

RUN apk --update add --virtual build-dependencies build-base && \
bundle install && \
apk del build-dependencies && \
apk del build-dependencies build-base && \
rm -rf /var/cache/apk/*

CMD /app/bin/ssh_scan

0 comments on commit 143dc2f

Please sign in to comment.