From 32ad8df38d2e1090e9495fd395e795f4ac0a0b01 Mon Sep 17 00:00:00 2001 From: Rheinmetal Date: Sat, 23 Sep 2017 10:45:19 +0800 Subject: [PATCH] add dockerfile --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c061ee8 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:3.6 as builder + +WORKDIR / + +RUN apk add --no-cache git build-base linux-headers && \ + git clone https://github.com/wangyu-/udp2raw-tunnel.git && \ + cd udp2raw-tunnel && \ + make dynamic + +FROM alpine:3.6 +RUN apk add --no-cache libstdc++ iptables +COPY --from=builder /udp2raw-tunnel/udp2raw_dynamic /bin/