From e1c9521f37587d8f9d194d8e98da0f7e4da8b4f3 Mon Sep 17 00:00:00 2001 From: Jerry Date: Mon, 15 Feb 2021 14:36:29 +0000 Subject: [PATCH] build from current sources --- Dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 57db420..fd9a0f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,14 @@ 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 +COPY . udp2raw-tunnel + +RUN apk add --no-cache git build-base linux-headers && cd udp2raw-tunnel && make dynamic + +#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