Compare commits

...

3 Commits

Author SHA1 Message Date
Nick Cao
b499b68bfa
Merge 4559e6d47bb69fda0fbd3fb4b7d04ddb1cf5e2ae into f49e6adedf8129df827c6ee11d8b3f8b456d28f6 2023-11-07 11:44:10 +08:00
yancey
f49e6adedf remove Dockerfile 2023-11-06 03:19:46 -05:00
Nick Cao
4559e6d47b
Add install target to CMakeLists.txt 2023-05-13 12:37:27 +08:00
2 changed files with 2 additions and 13 deletions

View File

@ -33,3 +33,5 @@ target_link_libraries(udp2raw rt)
target_link_libraries(udp2raw pthread)
include_directories(SYSTEM "libev")
include_directories(".")
install(TARGETS udp2raw)

View File

@ -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" ]