Skip to content

Instantly share code, notes, and snippets.

@nathanleclaire
Created July 17, 2014 21:57
Show Gist options
  • Save nathanleclaire/b219612bf99a17f8cde8 to your computer and use it in GitHub Desktop.
Save nathanleclaire/b219612bf99a17f8cde8 to your computer and use it in GitHub Desktop.
$ make binary
docker build -t "docker:master" .
Sending build context to Docker daemon 44.7 MB
Sending build context to Docker daemon
Step 0 : docker-version 0.6.1
# Skipping unknown instruction DOCKER-VERSION
Step 1 : FROM ubuntu:14.04
---> e54ca5efa2e9
Step 2 : MAINTAINER Tianon Gravi <[email protected]> (@tianon)
---> Using cache
---> e7dca8e6a21a
Step 3 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq apt-utils aufs-tools automake btrfs-tools build-essential curl dpkg-sig git iptables libapparmor-dev libcap-dev libsqlite3-dev lxc=1.0* mercurial pandoc reprepro ruby1.9.1 ruby1.9.1-dev s3cmd=1.1.0* --no-install-recommends
---> Using cache
---> 66338dea7c25
Step 4 : RUN git clone --no-checkout https://git.fedorahosted.org/git/lvm2.git /usr/local/lvm2 && cd /usr/local/lvm2 && git checkout -q v2_02_103
---> Using cache
---> 2c971b8e119e
Step 5 : RUN cd /usr/local/lvm2 && ./configure --enable-static_link && make device-mapper && make install_device-mapper
---> Using cache
---> 21576e976aed
Step 6 : RUN curl -sSL https://go.googlecode.com/files/go1.2.1.src.tar.gz | tar -v -C /usr/local -xz
---> Using cache
---> 9add3ac77a11
Step 7 : ENV PATH /usr/local/go/bin:$PATH
---> Using cache
---> 54e9093c8205
Step 8 : ENV GOPATH /go:/go/src/github.com/dotcloud/docker/vendor
---> Using cache
---> 7370bc9869b1
Step 9 : RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
---> Using cache
---> 6ce2a12b32be
Step 10 : ENV DOCKER_CROSSPLATFORMS linux/386 linux/arm darwin/amd64 darwin/386 freebsd/amd64 freebsd/386 freebsd/arm
---> Using cache
---> 0951ee4ea36f
Step 11 : ENV GOARM 5
---> Using cache
---> efce19e818dd
Step 12 : RUN cd /usr/local/go/src && bash -xc 'for platform in $DOCKER_CROSSPLATFORMS; do GOOS=${platform%/*} GOARCH=${platform##*/} ./make.bash --no-clean 2>&1; done'
---> Using cache
---> fabee3ed01e9
Step 13 : RUN go get code.google.com/p/go.tools/cmd/cover
---> Using cache
---> d9118ff9f673
Step 14 : RUN gem install --no-rdoc --no-ri fpm --version 1.0.2
---> Using cache
---> 80f493246747
Step 15 : RUN git clone -b buildroot-2014.02 https://github.com/jpetazzo/docker-busybox.git /docker-busybox
---> Using cache
---> 032a6d5a6477
Step 16 : RUN /bin/echo -e '[default]\naccess_key=$AWS_ACCESS_KEY\nsecret_key=$AWS_SECRET_KEY' > /.s3cfg
---> Using cache
---> 6fc110197ed7
Step 17 : RUN git config --global user.email '[email protected]'
---> Using cache
---> b04424af2aca
Step 18 : RUN groupadd -r docker
---> Using cache
---> 333aba518136
Step 19 : RUN useradd --create-home --gid docker unprivilegeduser
---> Using cache
---> 407bd3235f1d
Step 20 : VOLUME /var/lib/docker
---> Using cache
---> da0b6bc422a6
Step 21 : WORKDIR /go/src/github.com/dotcloud/docker
---> Using cache
---> 8fb9a4c33f01
Step 22 : ENV DOCKER_BUILDTAGS apparmor selinux
---> Using cache
---> d8098f0f6fbf
Step 23 : ENTRYPOINT ["hack/dind"]
---> Using cache
---> fc432f06f694
Step 24 : COPY . /go/src/github.com/dotcloud/docker
---> 7789ae1c30e8
Removing intermediate container fa411397b4d8
Successfully built 7789ae1c30e8
docker run --rm -it --privileged -e TESTFLAGS -e TESTDIRS -e DOCKER_GRAPHDRIVER -e DOCKER_EXECDRIVER -v "/home/vagrant/docker/bundles:/go/src/github.com/dotcloud/docker/bundles" "docker:master" hack/make.sh binary
bundles/1.1.1-dev already exists. Removing.
---> Making bundle: binary (in bundles/1.1.1-dev/binary)
go build github.com/dotcloud/docker/pkg/mount: signal: killed
make: *** [binary] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment