2023-06-06 22:07:35 +02:00
|
|
|
FROM golang:1.19 as builder
|
2023-06-06 13:39:50 +02:00
|
|
|
|
2023-06-06 22:07:35 +02:00
|
|
|
WORKDIR /src
|
|
|
|
COPY . .
|
|
|
|
RUN go build
|
2023-06-06 13:39:50 +02:00
|
|
|
|
2023-06-06 22:07:35 +02:00
|
|
|
FROM debian:stable-slim
|
2023-06-06 13:39:50 +02:00
|
|
|
|
2023-06-06 22:07:35 +02:00
|
|
|
RUN apt-get update && apt-get install ca-certificates -y
|
|
|
|
COPY --from=builder /src/capture /usr/bin/capture
|
2023-06-06 13:39:50 +02:00
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/capture"]
|