mirror of
https://github.com/mudler/luet.git
synced 2025-05-12 10:25:49 +00:00
12 lines
297 B
Docker
12 lines
297 B
Docker
FROM golang:bullseye as builder
|
|
RUN apt-get update && apt-get install -y upx
|
|
ADD . /luet
|
|
RUN cd /luet && make build
|
|
|
|
FROM scratch
|
|
ENV LUET_NOLOCK=true
|
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
|
COPY --from=builder /luet/luet /usr/bin/luet
|
|
|
|
ENTRYPOINT ["/usr/bin/luet"]
|