Initial commit
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user