2024-03-08 14:59:10 +00:00
|
|
|
FROM golang:bookworm AS builder
|
|
|
|
|
|
|
|
RUN apk update && apk install -y git libusb-dev libavahi-client-dev libavahi-common-dev build-essential gcc
|
|
|
|
|
|
|
|
RUN git clone https://github.com/OpenPrinting/ipp-usb.git
|
|
|
|
|
|
|
|
RUN make
|
|
|
|
|
|
|
|
|
|
|
|
FROM scratch
|
|
|
|
COPY --FROM=builder /root/ipp-usb /
|
|
|
|
ENTRYPOINT /ipp-usb
|