capture/Dockerfile
Simon Vieille 97c5ce0b7b
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline failed
use golang builder
update ci
2023-06-06 22:07:35 +02:00

13 lines
230 B
Docker

FROM golang:1.19 as builder
WORKDIR /src
COPY . .
RUN go build
FROM debian:stable-slim
RUN apt-get update && apt-get install ca-certificates -y
COPY --from=builder /src/capture /usr/bin/capture
ENTRYPOINT ["/usr/bin/capture"]