12345678910111213141516171819 |
- https://www.cnblogs.com/stulzq/p/9201830.html
- ---------------------------------------------------------------------------------------------
- 1.把本文件所在目录下的cgateway文件夹拷贝到 /root/image
- 备注:Dockerfile 中的 "FROM ubuntu:latest" 也可改为 "FROM gcc:latest"
- ubuntu 镜像 64.2MB ,gcc 镜像1.14GB
- 2.创建镜像
- cd /root/image/sers_cpp_cgateway_1.2.0
- docker build -t sers_cpp_cgateway:1.2.0 .
|