Hey Vlad, Here's the docker command:
docker run -ti --rm \ -v "$PWD":/usr/src/pjt \ -w /usr/src/pjt \ -e "GOPATH=/usr/src/pjt" -e "STATICBUILD=1" \ -e "PREBUILD_DEPS=$PREBUILD_DEPS" \ gobuilder:1.8-alpine \ ./build.sh Regarding my docker: docker-machine version 0.10.0, build 76ed2a6 Client: Version: 17.03.0-ce API version: 1.26 Go version: go1.7.5 Git commit: 60ccb22 Built: Thu Mar 2 01:11:00 2017 OS/Arch: darwin/amd64 Server: Version: 17.03.0-ce API version: 1.26 (minimum version 1.12) Go version: go1.7.5 Git commit: 3a232c8 Built: Tue Feb 28 07:52:04 2017 OS/Arch: linux/amd64 Experimental: false Running on macOS. Best, James On Sunday, June 11, 2017 at 7:00:18 AM UTC-7, Vladimir Varankin wrote: > > Hey James, > > Could you show the docker run command, which you invoke to enter a > container? > > I use docker to build my application as well, so I just do `docker > container run --rm -ti --volume $PWD:/gocode/src/app --workdir > /gocode/src/app <my-go-build-image> go build`. Doing so with container > reusage or not, I haven't found any speed difference so far. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.