v2fly / docker

docker build repo for v2fly
https://hub.docker.com/r/v2fly/v2fly-core
MIT License
754 stars 215 forks source link

build from release #18

Closed ghost closed 3 years ago

ghost commented 3 years ago

测试完成:https://hub.docker.com/r/charlieethan/v2fly-core/tags

kslr commented 3 years ago

为什么要修改成这种形式

ghost commented 3 years ago

为什么要修改成这种形式

https://github.com/v2fly/docker/pull/15#issuecomment-706562438

kslr commented 3 years ago

在复制后删掉这个文件,或者只要最后一层镜像不就可以。

ghost commented 3 years ago

在复制后删掉这个文件,或者只要最后一层镜像不就可以。

现在的 Dockerfile 就是复制后删除的,但仍会占用一层(10M)的空间,我怀疑这10M大小是因为“复制”这个操作而造成的,即使后期删除复制的内容仍不会减少这一操作所占的大小,具体的机理是否如此我还不清楚,也请大佬问问懂 Docker 的人这种问题有没有解决办法

kslr commented 3 years ago

最近没时间,可能得先咕咕一下

kslr commented 3 years ago

搞了一会,感觉还是你这个好点

ghost commented 3 years ago

搞了一会,感觉还是你这个好点

最后不需要再 rm v2ray.sh 了,因为在 v2ray.sh 中已经把自己删掉了😂