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

[new] 添加了dockerfile,帮助可以打skynet基础镜像。 #618

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hanyu363
Copy link
Contributor

可以直接打包skynet的docker基础镜像。
docker build . -t skynet
docker run -it --rm skynet

@cloudwu
Copy link
Owner

cloudwu commented Apr 20, 2017

这个暂不合并,还没想好要维护这个,可以先去 wiki 加一个页面。

@ifsc01
Copy link

ifsc01 commented Nov 2, 2017

感觉没啥用,实际大家开发中,还会修改skynet,还要自己写makefile

@srdgame
Copy link
Contributor

srdgame commented Aug 31, 2020

既然清理了源代码,怎么不把gcc g++清理掉? 最好的做法是二次FROM一个镜像,然后COPY必要文件到新的镜像。这样会减少image的大小。

用环境变量去设置 config文件文件,以及使用VOLUMN来存储 config文件以及具体的服务逻辑代码,方便进行文件更新。

另外就是一些PORT mapping的问题。将8000, 8888这些端口暴露一下

@cloudwu cloudwu force-pushed the master branch 2 times, most recently from 31e0ac2 to 208be03 Compare December 10, 2021 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants