Files
luet/Dockerfile
Ettore Di Giacinto d67742c28f Add docker image from scratch
Also add make target for it, and disable CGO
2019-11-26 17:30:38 +01:00

10 lines
172 B
Docker

FROM golang as builder
ADD . /luet
RUN cd /luet && make build
FROM scratch
ENV LUET_NOLOCK=true
COPY --from=builder /luet/luet /usr/bin/luet
ENTRYPOINT ["/usr/bin/luet"]