forked from jaeles-project/gospider
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jaeles-project#59 from aidanhall34/dockerfile
Created dockerfile and updated README.md
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM golang:latest AS build-env | ||
RUN GO111MODULE=on go install github.com/jaeles-project/gospider@latest | ||
FROM alpine:3.17.1 | ||
RUN apk add --no-cache ca-certificates libc6-compat | ||
WORKDIR /app | ||
COPY --from=build-env /go/bin/gospider . | ||
RUN mkdir -p /app \ | ||
&& adduser -D gospider \ | ||
&& chown -R gospider:gospider /app | ||
USER gospider | ||
ENTRYPOINT [ "./gospider" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters