Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi2005 authored Mar 13, 2017
1 parent 1af2d4e commit fb64212
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fb64212

Please sign in to comment.