yarascanner/Dockerfile
Tyler e721ec6b70
Some checks failed
continuous-integration/drone/push Build is failing
first commit
2021-02-24 21:46:02 -05:00

14 lines
232 B
Docker

FROM golang:alpine AS builder
RUN mkdir -p /build/src
ADD . /build/src
RUN cd /build/src \
&& go build -o /build/yarascanner
FROM alpine:3
COPY --from=builder /build/yarascanner /usr/bin/yarascanner
CMD "/usr/bin/yarascanner"