ipp-usb-docker/Dockerfile

12 lines
281 B
Docker
Raw Normal View History

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