Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile #52

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add Dockerfile #52

wants to merge 2 commits into from

Conversation

benzetaa
Copy link

Add Dockerfile

FROM golang:1.17.8-alpine3.14 AS build-env
RUN apk add --no-cache build-base
RUN go install github.com/jaeles-project/gospider@latest

FROM alpine:3.15.0
RUN apk add --no-cache bind-tools ca-certificates
COPY --from=build-env /go/bin/gospider /usr/local/bin/gospider
ENTRYPOINT ["gospider"]

Run Docker

docker build -t gospider .
docker run --rm -t gospider -q -s "https://google.com/"

benzetaa added 2 commits June 19, 2022 00:10
Add  docker run in README.md 
```
docker build -t gospider .
docker run --rm -t gospider -q -s "https://google.com/"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant