Open
Conversation
Owner
|
这个暂不合并,还没想好要维护这个,可以先去 wiki 加一个页面。 |
|
感觉没啥用,实际大家开发中,还会修改skynet,还要自己写makefile |
Contributor
|
既然清理了源代码,怎么不把gcc g++清理掉? 最好的做法是二次FROM一个镜像,然后COPY必要文件到新的镜像。这样会减少image的大小。 用环境变量去设置 config文件文件,以及使用VOLUMN来存储 config文件以及具体的服务逻辑代码,方便进行文件更新。 另外就是一些PORT mapping的问题。将8000, 8888这些端口暴露一下 |
31e0ac2 to
208be03
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
可以直接打包skynet的docker基础镜像。
docker build . -t skynet
docker run -it --rm skynet