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

This commit is contained in:
Martyn 2024-03-08 14:59:10 +00:00
parent a3bcc0200d
commit 025613be6b
1 changed files with 12 additions and 2 deletions

View File

@ -1,2 +1,12 @@
FROM alpine:latest FROM golang:bookworm AS builder
RUN apk add --no-cache usb-ipp
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