Browse Source

add dockerfile

Rheinmetal 8 years ago
parent
commit
32ad8df38d
1 changed files with 12 additions and 0 deletions
  1. 12 0
      Dockerfile

+ 12 - 0
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/