From bd08ba6b15e3147681bc71dc3389f2b30c0a15a3 Mon Sep 17 00:00:00 2001 From: vcptr <51714622+vcptr@users.noreply.github.com> Date: Tue, 26 Nov 2019 13:50:25 +0800 Subject: [PATCH] remove dockerfile --- Dockerfile | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 3424bfd6..00000000 --- a/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -############################ -# STEP 1 build executable binary -############################ -FROM golang:alpine AS builder -RUN apk update && apk add --no-cache git bash wget -WORKDIR /go/src/v2ray.com/core -RUN git clone --progress --depth=1 https://github.com/v2fly/v2ray-core.git . && \ - bash ./release/user-package.sh nosource noconf abpathtgz=/tmp/v2ray.tgz -############################ -# STEP 2 build a small image -############################ -FROM alpine -COPY --from=builder /tmp/v2ray.tgz /tmp -RUN apk update && apk add ca-certificates && \ - mkdir -p /usr/bin/v2ray && \ - tar xvfz /tmp/v2ray.tgz -C /usr/bin/v2ray -ENTRYPOINT ["/usr/bin/v2ray/v2ray"]