Skip to content

Instantly share code, notes, and snippets.

@shreyaskarnik
Created April 3, 2015 21:11
Show Gist options
  • Save shreyaskarnik/e342f2effb1643b47401 to your computer and use it in GitHub Desktop.
Save shreyaskarnik/e342f2effb1643b47401 to your computer and use it in GitHub Desktop.
error-dkr-reg-master
$> docker build -t distrubution .
Sending build context to Docker daemon 5.376 MB
Sending build context to Docker daemon
Step 0 : FROM golang:1.4
---> aac88aa7c9ab
Step 1 : ENV CONFIG_PATH /etc/docker/registry/config.yml
---> Using cache
---> c3623f914a24
Step 2 : ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution
---> Using cache
---> 4bcbd4c4ff65
Step 3 : ENV GOPATH $DISTRIBUTION_DIR/Godeps/_workspace:$GOPATH
---> Using cache
---> 5e85ce2a13fa
Step 4 : WORKDIR $DISTRIBUTION_DIR
---> Using cache
---> 21b5f7040be9
Step 5 : COPY . $DISTRIBUTION_DIR
---> bb9d85570471
Removing intermediate container bf9f5cf53e3f
Step 6 : RUN make PREFIX=/go clean binaries
---> Running in 53db46f56653
+ clean
+ /go/bin/registry
# github.com/docker/distribution/context
context/logger.go:50: undefined: context
context/logger.go:57: undefined: context
Makefile:19: recipe for target '/go/bin/registry' failed
make: *** [/go/bin/registry] Error 2
INFO[0001] The command [/bin/sh -c make PREFIX=/go clean binaries] returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment