ipp-usb-docker/Dockerfile

12 lines
295 B
Docker

FROM golang:bookworm AS builder
RUN apt update && apt 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 cd ipp-usb && make
FROM scratch
COPY --from=builder /root/ipp-usb /
ENTRYPOINT /ipp-usb