1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-23 05:39:03 +08:00
nali/Dockerfile
2020-07-17 11:11:56 +08:00

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"]