yellow~ opinionated web scanning pipeline for pentesters in a hurry |
| git clone https://github.com/djnnvx/yellow.git |
| log | files | refs | archive | README | LICENSE |
| commit 2a3bddc15db2038cd7915a09cbd1a1871cbfdeb4
parent 572c0d0a752716ffe0dc43bd9bd1194ff17a90d5 Author: djnn <[email protected]> Date: Tue, 3 Dec 2024 18:53:33 +0900 feat(build): dockerfile Diffstat:
|
| 1 file changed, 23 insertions(+), 0 deletions(-) |
diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,23 @@ +FROM golang:1.23-alpine AS builder + +WORKDIR /root +RUN apk update --no-cache && \ + apk upgrade --no-cache && \ + apk add --no-cache \ + make \ + build-base + +COPY go.mod . +RUN go mod download + +COPY . . +RUN make + + +FROM scratch + +WORKDIR /app + +COPY --from=builder /root/yellow . + +ENTRYPOINT [ "/app/yellow" ] |