13 lines
230 B
Docker
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"]
|