mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-01-19 06:19:31 +08:00
Compare commits
3 Commits
f3e05f4a86
...
b499b68bfa
Author | SHA1 | Date | |
---|---|---|---|
|
b499b68bfa | ||
|
f49e6adedf | ||
|
4559e6d47b |
@ -33,3 +33,5 @@ target_link_libraries(udp2raw rt)
|
|||||||
target_link_libraries(udp2raw pthread)
|
target_link_libraries(udp2raw pthread)
|
||||||
include_directories(SYSTEM "libev")
|
include_directories(SYSTEM "libev")
|
||||||
include_directories(".")
|
include_directories(".")
|
||||||
|
|
||||||
|
install(TARGETS udp2raw)
|
||||||
|
13
Dockerfile
13
Dockerfile
@ -1,13 +0,0 @@
|
|||||||
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/
|
|
||||||
ENTRYPOINT [ "/bin/udp2raw_dynamic" ]
|
|
Loading…
x
Reference in New Issue
Block a user