Closed akamalov closed 7 years ago
Clone the repository:
[root@mmaster1 opt]# git clone https://github.com/mesosphere/etcd-mesos Cloning into 'etcd-mesos'... remote: Counting objects: 2099, done. remote: Total 2099 (delta 0), reused 0 (delta 0), pack-reused 2099 Receiving objects: 100% (2099/2099), 1.47 MiB | 2.81 MiB/s, done. Resolving deltas: 100% (1028/1028), done. [root@mmaster1 opt]# cd etcd-mesos/
Proceed with building an image:
[root@mmaster1 etcd-mesos]# make docker docker run --rm -v "$PWD":/go/src/github.com/mesosphere/etcd-mesos \ -e GOPATH=/go \ -w /go/src/github.com/mesosphere/etcd-mesos \ golang:1.4.2 make Unable to find image 'golang:1.4.2' locally 1.4.2: Pulling from library/golang f8efbffe7b95: Pull complete a3ed95caeb02: Pull complete b3010ec3eb21: Pull complete a6f2dac3eb9c: Pull complete 4944048c0411: Pull complete e71b155d0979: Pull complete ea1e6832e93d: Pull complete 6d7d0e45e826: Pull complete Digest: sha256:a661a9a57b864de1d08b350c8dfc944b72daea8fb4292c63bbbf534ba489474b Status: Downloaded newer image for golang:1.4.2 rm bin/etcd-* Makefile:12: recipe for target 'clean' failed rm -f /go/src/github.com/mesosphere/etcd-mesos/Godeps/_workspace/src/""github.com/mesosphere"/etcd-mesos" mkdir -p /go/src/github.com/mesosphere/etcd-mesos/Godeps/_workspace/src/"github.com/mesosphere" rm: cannot remove 'bin/etcd-*': No such file or directory make: [clean] Error 1 (ignored) ln -s /go/src/github.com/mesosphere/etcd-mesos /go/src/github.com/mesosphere/etcd-mesos/Godeps/_workspace/src/""github.com/mesosphere"/etcd-mesos" go build -o bin/etcd-mesos-executor cmd/etcd-mesos-executor/app.go go build -o bin/etcd-mesos-scheduler cmd/etcd-mesos-scheduler/app.go go build -o bin/etcd-mesos-proxy cmd/etcd-mesos-proxy/app.go git submodule init git submodule update Cloning into '_vendor/coreos/etcd'... Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Clone of 'git@github.com:coreos/etcd.git' into submodule path '_vendor/coreos/etcd' failed make: *** [bin/etcd] Error 1 Makefile:36: recipe for target 'bin/etcd' failed make: *** [docker_build] Error 2 [root@mmaster1 etcd-mesos]#
Check to see if we have bin directory:
bin
[root@mmaster1 etcd-mesos]# ls cmd config CONTRIBUTING.md Dockerfile docs errors executor Godeps LICENSE Makefile marathon.json offercache README.md rpc scheduler static testing _vendor [root@mmaster1 etcd-mesos]#
As you can see, there is no "bin" directory...
Out of curiosity, @akamalov do you use this just to build Linux binaries? Or is the purpose something else I'm missing?
@JohnOmernik care to answer the question above as well?
Clone the repository:
Proceed with building an image:
Check to see if we have
bin
directory:As you can see, there is no "bin" directory...