mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
remove dockerfile
This commit is contained in:
parent
82745be6fd
commit
bd08ba6b15
17
Dockerfile
17
Dockerfile
@ -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"]
|
|
Loading…
Reference in New Issue
Block a user