Initial commit

This commit is contained in:
Yun Zheng Hu
2023-07-11 16:54:09 +02:00
commit 530840a66c
7 changed files with 534 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM golang:alpine
COPY . /app
WORKDIR /app
RUN apk add --no-cache make build-base libpcap-dev openssh-client tcpdump
RUN go mod download
RUN go build ./cmd/pcap-broker
ENTRYPOINT ["./pcap-broker"]