Closed xuanjiang1985 closed 4 years ago
1、docker run -ti --name=xgo-build karalabe/xgo-latest /bin/sh 2、docker exec -ti xgo-build /bin/bash 3、go env -w GOPROXY=https://goproxy.cn,direct 4、docker ps -a, find xgo-build "CONTAINER ID" 5、docker commit -a “author” -m “message” “CONTAINER ID” karalabe/xgo-latest:v2 6、docker images, find karalabe/xgo-latest:v2 "IMAGE ID" 7、docker tag "IMAGE ID" karalabe/xgo-latest:latest