Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM golang:1.15

ENV CGO_ENABLED=0
WORKDIR /go/src/app

COPY . .

RUN go build -v


FROM alpine:3

RUN apk add iptables ip6tables

COPY all-networks.txt .
COPY path-prefixes.txt .

COPY --from=0 /go/src/app/go-mmproxy .

ENTRYPOINT ["./go-mmproxy"]
2 changes: 2 additions & 0 deletions all-networks.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
0.0.0.0/0
::/0