mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 14:29:34 +08:00
add dockerfile
This commit is contained in:
parent
3b0a4c7d08
commit
32ad8df38d
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -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/
|
Loading…
x
Reference in New Issue
Block a user