From fb64212300f6fa222634ca61f52c97f48f39ac06 Mon Sep 17 00:00:00 2001 From: wangyi2005 Date: Mon, 13 Mar 2017 21:05:48 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 451c8fb9..abfd840d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,15 +3,18 @@ FROM alpine:3.5 ENV CONFIG_JSON=none V2RAY_CRT=none V2RAY_KEY=none VER=2.20.2 RUN apk add --no-cache --virtual .build-deps ca-certificates curl \ - && mkdir -p /v2ray/bin \ + && mkdir -p /v2ray/bin \ + && chgrp -R 0 /v2ray \ + && chmod -R g+rwX /v2ray && cd /v2ray \ && curl -L -H "Cache-Control: no-cache" -o v2ray.zip https://github.com/v2ray/v2ray-core/releases/download/v$VER/v2ray-linux-64.zip \ && unzip v2ray.zip \ && mv /v2ray/v2ray-v$VER-linux-64/v2ray /v2ray/bin/ \ && rm -rf v2ray.zip \ && rm -rf v2ray-v$VER-linux-64 \ - && chgrp -R 0 /v2ray/bin \ - && chmod -R g+rwX /v2ray/bin + && ls -l / \ + && ls -l /v2ray \ + && ls -l /v2ray/bin ADD entrypoint.sh /entrypoint.sh