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 727bedc commit 6adfa91
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ 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 \
&& chgrp -R 0 /v2ray \
&& chmod -R g+rwX /v2ray \
&& mkdir -m 777 /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/ \
&& mv /v2ray/v2ray-v$VER-linux-64/v2ray /v2ray/ \
&& rm -rf v2ray.zip \
&& rm -rf v2ray-v$VER-linux-64 \
&& chgrp -R 0 /v2ray \
&& chmod -R g+rwX /v2ray \
&& ls -l / \
&& ls -l /v2ray \
&& ls -l /v2ray/bin
&& ls -l /v2ray

ADD entrypoint.sh /entrypoint.sh

Expand Down

0 comments on commit 6adfa91

Please sign in to comment.