|
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 |