Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.48 #9

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
73d4c64
Update README.md
hesed Sep 28, 2018
e3b63ef
Merge pull request #1 from doudoubinga/master
hesed Oct 10, 2018
a89b388
Update Dockerfile
hesed Oct 12, 2018
745a123
Update Dockerfile
hesed Oct 22, 2018
b1083dc
Update Dockerfile
hesed Oct 22, 2018
6cc746d
Update Dockerfile
hesed Oct 22, 2018
8fbfd21
Merge pull request #2 from doudoubinga/master
hesed Oct 25, 2018
09208cf
Update Dockerfile
hesed Oct 25, 2018
73676c9
Update Dockerfile
hesed Oct 28, 2018
e0f3c2f
Update Dockerfile
hesed Oct 29, 2018
3d79d27
Update Dockerfile
hesed Oct 29, 2018
1759036
Update Dockerfile
hesed Oct 29, 2018
6e958b6
Update Dockerfile
hesed Oct 29, 2018
32a13f7
Update Dockerfile
hesed Oct 29, 2018
9fdd8fb
Update Dockerfile
hesed Oct 29, 2018
03251fd
Update Dockerfile
hesed Oct 29, 2018
71d73d6
Update Dockerfile
hesed Oct 29, 2018
fda73ca
Update Dockerfile
hesed Oct 30, 2018
2606bb6
Update Dockerfile
hesed Nov 1, 2018
5ed1fb2
Update Dockerfile
hesed Nov 5, 2018
eb60f8b
Update Dockerfile
hesed Nov 5, 2018
30aed57
Update Dockerfile
hesed Nov 5, 2018
35efa8b
Update README.md
hesed Nov 5, 2018
5bae3a4
Update Dockerfile
hesed Nov 5, 2018
1437d4f
Update Dockerfile
hesed Nov 6, 2018
aa797c0
Update Dockerfile
hesed Nov 6, 2018
fec1c05
Update Dockerfile
hesed Nov 14, 2018
c8b7af6
Update README.md
hesed Nov 14, 2018
ebad417
Update Dockerfile
hesed Nov 18, 2018
69ac532
Update Dockerfile
hesed Nov 20, 2018
04f6307
Update Dockerfile
hesed Nov 29, 2018
cbf8962
Update Dockerfile
hesed Dec 11, 2018
fedd4dd
Update Dockerfile
hesed Dec 13, 2018
1c78873
Update Dockerfile
hesed Jan 6, 2019
9d537f9
Update Dockerfile
hesed Feb 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
FROM alpine:latest

ENV CONFIG_JSON=none CERT_PEM=none KEY_PEM=none VER=3.46
ENV CONFIG_JSON=none CERT_PEM=none KEY_PEM=none VER=4.17.0

RUN apk add --no-cache --virtual .build-deps ca-certificates curl \

&& mkdir -m 777 /v2raybin \
&& cd /v2raybin \
&& 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 /v2raybin/v2ray-v$VER-linux-64/v2ray /v2raybin/ \
&& mv /v2raybin/v2ray-v$VER-linux-64/v2ctl /v2raybin/ \
&& mv /v2raybin/v2ray-v$VER-linux-64/geoip.dat /v2raybin/ \
&& mv /v2raybin/v2ray-v$VER-linux-64/geosite.dat /v2raybin/ \
# && mv /v2raybin/v2ray/v2ray /v2raybin/ \
# && mv /v2raybin/v2ray/v2ctl /v2raybin/ \
# && mv /v2raybin/v2ray/geoip.dat /v2raybin/ \
# && mv /v2raybin/v2ray/geosite.dat /v2raybin/ \

# && mv /v2raybin/v2ray-v$VER-linux-64/v2ray /v2raybin/ \
# && mv /v2raybin/v2ray-v$VER-linux-64/v2ctl /v2raybin/ \
# && mv /v2raybin/v2ray-v$VER-linux-64/geoip.dat /v2raybin/ \
# && mv /v2raybin/v2ray-v$VER-linux-64/geosite.dat /v2raybin/ \

&& chmod +x /v2raybin/v2ctl \
&& chmod +x /v2raybin/v2ray \
&& rm -rf v2ray.zip \
&& rm -rf v2ray-v$VER-linux-64 \
Expand All @@ -24,3 +32,5 @@ RUN chmod +x /entrypoint.sh
ENTRYPOINT /entrypoint.sh

EXPOSE 8080

EXPOSE 1024
28 changes: 1 addition & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,2 @@

<h1 align="center"> 免责声明 </h1>


<p align="center">
只面向海外华人用户且仅供科研学习之用,切勿用于其他用途
<br>
中国居民请自觉关闭本项目并24小时之内删掉与本项目相关的一切内容,否则出现一切问题,项目作者概不负责
</p>
<hr>



# v2ray 部署在 openshift starter
鉴于转载网友太多,甚至还发到了国内网站上宣传,为避免不必要麻烦,docker镜像已经删除,需要的请自行fork本
项目,然后照着这个视频 https://youtu.be/gImm4CfAnRs 自行部署镜像! 2018/09/26

(fork于wangyi2005/v2ray修改前)

环境变量: CONFIG_JSON(配置)、


用notepad++将上述变量中 \r\n 替换为\\n,变成一行,导入容器。

客户端: android Actinium、windows v2ray 可用同一个服务端。

youtube频道:https://www.youtube.com/channel/UClceV39J1Z_9D4_mHkBZrMg
测试项目