Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM golang:alpine

RUN apk --update add git

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RUN apk --update add git
RUN apk --no-cache add git

RUN git clone https://github.com/kgretzky/dcrawl.git

WORKDIR dcrawl
RUN go get -v golang.org/x/net/publicsuffix
RUN go build dcrawl.go
ENTRYPOINT ["./dcrawl"]
CMD ["-h"]
30 changes: 30 additions & 0 deletions Dockerfile_README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Dcrawl

## Source

https://github.com/kgretzky/dcrawl

## Usage
```bash
cd dcrawl/
docker build -t dcrawl .
docker run -it dcrawl:latest
```
## Help
```bash
___ __
__| _/________________ __ _ _| |
/ __ |/ ___\_ __ \__ \\ \/ \/ / |
/ /_/ \ \___| | \// __ \\ /| |__
\____ |\___ >__| (____ /\/\_/ |____/
\/ \/ \/ v.1.0

Usage of ./dcrawl:
-ms int
maximum different subdomains for one domain (def. 10) (default 10)
-mu int
maximum number of links to spider per hostname (def. 5) (default 5)
-out string
output file to save hostnames to

```