Skip to content

Instantly share code, notes, and snippets.

@jcrben jcrben/dokku-error-2
Created Aug 13, 2017

Embed
What would you like to do?
dokku-error-2
ubuntu@ubuntu-xenial:~/plugn$ sudo GOPATH=$GOPATH make build-in-docker
docker build --rm -f Dockerfile.build -t plugn-build .
Sending build context to Docker daemon 20.66MB
Step 1/2 : FROM golang:1.6.3
1.6.3: Pulling from library/golang
386a066cd84a: Pull complete
75ea84187083: Pull complete
88b459c9f665: Pull complete
a31e17eb9485: Pull complete
ca401ff682d8: Pull complete
9ce78c48a8ff: Pull complete
e003bd57c0f1: Pull complete
Digest: sha256:9bc3717d167110a13be0ca34936a1d2d509f1775499649a6be616330ab20dbd1
Status: Downloaded newer image for golang:1.6.3
---> a1553cdf672f
Step 2/2 : RUN curl -fsSLO https://get.docker.com/builds/Linux/x86_64/docker-1.12.1.tgz && tar --strip-components=1 -xvzf docker-1.12.1.tgz -C /usr/local/bin
---> Running in 943fdd59e204
docker/docker-containerd-ctr
docker/docker
docker/docker-containerd
docker/dockerd
docker/docker-proxy
docker/docker-runc
docker/docker-containerd-shim
---> 92016deae261
Removing intermediate container 943fdd59e204
Successfully built 92016deae261
Successfully tagged plugn-build:latest
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /var/lib/docker:/var/lib/docker \
-v :/go/src/github.com/dokku/plugn -w /go/src/github.com/dokku/plugn \
-e IMAGE_NAME=plugn -e BUILD_TAG=dev -e VERSION=master \
plugn-build make -e deps build
docker: Error response from daemon: invalid volume spec ":/go/src/github.com/dokku/plugn": invalid volume specification: ':/go/src/github.com/dokku/plugn'.
See 'docker run --help'.
Makefile:31: recipe for target 'build-in-docker' failed
make: *** [build-in-docker] Error 125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.