Closed ghost closed 3 years ago
为什么要修改成这种形式
在复制后删掉这个文件,或者只要最后一层镜像不就可以。
在复制后删掉这个文件,或者只要最后一层镜像不就可以。
现在的 Dockerfile 就是复制后删除的,但仍会占用一层(10M)的空间,我怀疑这10M大小是因为“复制”这个操作而造成的,即使后期删除复制的内容仍不会减少这一操作所占的大小,具体的机理是否如此我还不清楚,也请大佬问问懂 Docker 的人这种问题有没有解决办法
最近没时间,可能得先咕咕一下
搞了一会,感觉还是你这个好点
搞了一会,感觉还是你这个好点
最后不需要再 rm v2ray.sh 了,因为在 v2ray.sh 中已经把自己删掉了😂
测试完成:https://hub.docker.com/r/charlieethan/v2fly-core/tags