luet/Dockerfile

12 lines
301 B
Docker
Raw Normal View History

2024-06-24 13:17:21 +00:00
FROM golang:bookworm as builder
2024-06-24 13:19:10 +00:00
RUN apt-get update && apt-get install -y upx-ucl
ADD . /luet
2022-01-20 12:59:44 +00:00
RUN cd /luet && make build
FROM scratch
ENV LUET_NOLOCK=true
2019-12-03 15:29:13 +00:00
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /luet/luet /usr/bin/luet
ENTRYPOINT ["/usr/bin/luet"]