ipp-usb-docker/Dockerfile

12 lines
371 B
Docker
Raw Normal View History

2024-03-08 14:59:10 +00:00
FROM golang:bookworm AS builder
2024-03-08 15:13:36 +00:00
RUN apt update && apt install -y git libusb-dev libusb-1.0-0-dev libavahi-client-dev libavahi-common-dev build-essential gcc libusb-0.1-4 libavahi-client3 libavahi-common3 libusb-1.0-0
2024-03-08 14:59:10 +00:00
RUN git clone https://github.com/OpenPrinting/ipp-usb.git
2024-03-08 15:02:15 +00:00
RUN cd ipp-usb && make
2024-03-08 14:59:10 +00:00
FROM scratch
2024-03-08 15:00:01 +00:00
COPY --from=builder /root/ipp-usb /
2024-03-08 14:59:10 +00:00
ENTRYPOINT /ipp-usb