1;每个保留关键字 【指令】,不分大小写,但是为了阅读方面,通常都是写大写的
Parser directives are not case-sensitive. However, convention is for them to be lowercase. Convention is also to include a blank line following any parser directives. Line continuation characters are not supported in parser directives
2;都是从FROM命令开始的
3;从上往下执行指令
4;#表示注释
5;每一个指令都会提交一个新的镜像层
「梦想一旦被付诸行动,就会变得神圣,如果觉得我的文章对您有用,请帮助本站成长」
上一篇:Dockerfile入门
下一篇:Dockerfile构建实战