Skip to content

Commit

Permalink
Add iptables to docker image (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
tete1030 committed Apr 24, 2020
1 parent 4358f56 commit 7062748
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -7,6 +7,7 @@ RUN apk update && \
RUN go get -ldflags "-X main.VERSION=$(date -u +%Y%m%d) -s -w" github.com/xtaci/kcptun/client && go get -ldflags "-X main.VERSION=$(date -u +%Y%m%d) -s -w" github.com/xtaci/kcptun/server

FROM alpine:3.11
RUN apk add --no-cache iptables
COPY --from=builder /go/bin /bin
EXPOSE 29900/udp
EXPOSE 12948

0 comments on commit 7062748

Please sign in to comment.