Skip to content

Instantly share code, notes, and snippets.

@pmorie
Created September 10, 2014 20:19
Show Gist options
  • Select an option

  • Save pmorie/c8d5dcf9bdd9a2dc8b45 to your computer and use it in GitHub Desktop.

Select an option

Save pmorie/c8d5dcf9bdd9a2dc8b45 to your computer and use it in GitHub Desktop.
★ pmorie:~/go/src/github.com/openshift/origin (docker-build-support)
$ hack/build-docker.sh -lw
Making origin-build image...
Building openshift/origin-build
Sending build context to Docker daemon 6.656 kB
Sending build context to Docker daemon
Step 0 : FROM fedora:20
---> 58394af37342
Step 1 : RUN yum install -y deltarpm
---> Using cache
---> 90cc70a82cc6
Step 2 : RUN yum install -y golang git hg which httpie docker-io e2fsprogs
---> Using cache
---> 7893a6f7598e
Step 3 : MAINTAINER Dan Mace <dmace@redhat.com>
---> Using cache
---> 2dc610bdcf09
Step 4 : RUN mkdir /go
---> Using cache
---> f894bc1119e6
Step 5 : ENV GOPATH /go
---> Using cache
---> f84f796c5a64
Step 6 : ADD dind /usr/bin/dind
---> 07dfa4bde3b7
Removing intermediate container 13c0d54a0227
Step 7 : WORKDIR /go/src/github.com/openshift/origin
---> Running in a220039a5414
---> 000ca53acb83
Removing intermediate container a220039a5414
Step 8 : VOLUME /origin
---> Running in c5165df47966
---> 20d39333c185
Removing intermediate container c5165df47966
Step 9 : ENV USER_REPO_ROOT /origin
---> Running in 4d2bf4d802ce
---> 09729ebf74c1
Removing intermediate container 4d2bf4d802ce
Successfully built 09729ebf74c1
76.346
Building local source into origin-build container...
executing cmd: docker run --name origin-build -v /home/pmorie/go/src/github.com/openshift/origin:/go/src/github.com/openshift/origin:ro -e GOPATH=/go:/go/src/github.com/openshift/origin/Godeps/_workspace openshift/origin-build go build -o /origin/openshift ./cmd/openshift
can't load package: package github.com/openshift/origin/cmd/openshift: open /go/src/github.com/openshift/origin/cmd/openshift: permission denied
2.451
Cleaning up...
Done cleaning up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment