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 #525 from J-M0/dockerfile
Browse files Browse the repository at this point in the history
Dockerfile improvements
  • Loading branch information
Jonathan Claudius committed Dec 2, 2020
2 parents cea7e48 + 1335d88 commit 46ed50e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ FROM ruby:2.7.2-alpine3.12
MAINTAINER Jonathan Claudius
ENV PROJECT=github.com/mozilla/ssh_scan

RUN mkdir /app
ADD . /app
WORKDIR /app
ADD . /app

# required for ssh-keyscan
RUN apk --update add openssh-client
Expand All @@ -16,4 +15,4 @@ RUN apk --update add --virtual build-dependencies build-base && \
apk del build-dependencies build-base && \
rm -rf /var/cache/apk/*

CMD /app/bin/ssh_scan
ENTRYPOINT [ "/app/bin/ssh_scan" ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To run from a docker container, type:

```bash
docker pull mozilla/ssh_scan
docker run -it mozilla/ssh_scan /app/bin/ssh_scan -t sshscan.rubidus.com
docker run -it mozilla/ssh_scan -t sshscan.rubidus.com
```

To install and run from source, type:
Expand Down

0 comments on commit 46ed50e

Please sign in to comment.