Created
January 17, 2024 10:37
-
-
Save m0wn1ka/c1004a6781c1a7b73ef6fe143f25fc45 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM golang:1.20.6-alpine AS builder | |
RUN apk add --no-cache git gcc musl-dev | |
WORKDIR /katana | |
COPY katana/go.mod katana/go.sum . | |
RUN go mod download | |
COPY /katana . | |
#building of katana | |
RUN go build -o /bin/katana ./cmd/katana | |
#start making subfinder | |
#make sure only folder v2 is in /subfinder | |
RUN apk add build-base | |
WORKDIR /subfinder | |
COPY subfinder/go.mod subfinder/go.sum . | |
RUN go mod download | |
COPY /subfinder . | |
#build subfinder | |
RUN go build -o /bin/subfinder ./cmd/subfinder | |
#CMD ["subfinder", "-d",$url] | |
CMD subfinder -d $url -o /output/subfinder.txt && katana -u $url -o /output/katana.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment