mirror of
https://github.com/nxtrace/nali
synced 2024-11-22 18:34:22 +00:00
14 lines
283 B
Docker
14 lines
283 B
Docker
FROM golang:alpine as builder
|
|
|
|
RUN apk add --no-cache make git
|
|
WORKDIR /nali-src
|
|
COPY . /nali-src
|
|
RUN go mod download && \
|
|
make docker && \
|
|
mv ./bin/nali-docker /nali
|
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache ca-certificates
|
|
COPY --from=builder /nali /
|
|
ENTRYPOINT ["/nali"] |