Skip to content

Commit 09e50f3

Browse files
committed
feat: add katana dependency to Docker build process and update go.mod
1 parent 4b9e937 commit 09e50f3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ RUN go mod download
3434
COPY cmd/ ./cmd/
3535
COPY internal/ ./internal/
3636

37+
# Fetch katana (new direct dependency) and regenerate go.sum inside the builder.
38+
# This is required because go.sum was created without katana entries.
39+
RUN go get github.com/projectdiscovery/katana@latest && go mod tidy
40+
3741
# Build main autoar binary from cmd/autoar (CGO enabled for naabu/libpcap)
3842
RUN CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -o /app/autoar ./cmd/autoar
3943

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ require (
2727
github.com/projectdiscovery/httpx v1.8.1
2828
github.com/projectdiscovery/naabu/v2 v2.3.7
2929
github.com/projectdiscovery/nuclei/v3 v3.7.1
30-
github.com/projectdiscovery/katana v1.1.2
3130
github.com/projectdiscovery/subfinder/v2 v2.6.7
3231
github.com/projectdiscovery/tlsx v1.2.2
3332
github.com/rs/zerolog v1.28.0

0 commit comments

Comments
 (0)