Update Dockerfile
/ test (push) Failing after 20s Details

This commit is contained in:
Martyn 2024-03-08 15:17:51 +00:00
parent 28062ad5cd
commit 472e523b03
1 changed files with 4 additions and 3 deletions

View File

@ -4,9 +4,10 @@ RUN apt update && apt install -y git libusb-dev libusb-1.0-0-dev libavahi-client
RUN git clone https://github.com/OpenPrinting/ipp-usb.git
RUN cd ipp-usb && make
RUN cd ipp-usb && make && pwd && ldd ipp-usb
FROM scratch
COPY --from=builder /root/ipp-usb /
ENTRYPOINT /ipp-usb
RUN mkdir /app
COPY --from=builder /root/ipp-usb/ipp-usb /app/
ENTRYPOINT /app/ipp-usb