github.com/turingchain2020/turingchain@v1.1.21/build/docker-build.sh (about)

     1  #!/usr/bin/env bash
     2  # https://hub.docker.com/r/suyanlong/golang-dev/
     3  # https://github.com/suyanlong/golang-dev
     4  # sudo docker pull suyanlong/golang-dev:latest
     5  
     6  sudo docker run -it -p 9671:9671 -p 9672:9672 -p 6060:6060 -p 50051:50051 -l linux-turingchain-build \
     7      -v "$GOPATH"/src/gitlab.__officeSite__/turingchain/turingchain:/go/src/gitlab.__officeSite__/turingchain/turingchain \
     8      -w /go/src/gitlab.__officeSite__/turingchain/turingchain suyanlong/golang-dev:latest