Last active
May 2, 2017 00:52
-
-
Save anonymuse/fb5b4bfb42c119a5a4f5c1ce4f18717d to your computer and use it in GitHub Desktop.
linuxkit make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
mkdir -p bin | |
tar cf - vendor src/initrd src/pad4 -C src/cmd/moby . | docker run --rm --net=none --log-driver=none -i -e GOOS=darwin -e GOARCH=amd64 linuxkit/go-compile:4513068d9a7e919e4ec42e2d7ee879ff5b95b7f5@sha256:bdfadbe3e4ec699ca45b67453662321ec270f2d1a1dbdbf09625776d3ebd68c5 --package github.com/linuxkit/linuxkit --ldflags "-X main.GitCommit=d35878c9e8c428d9b47eca16787d8267a2a9297c -X main.Version="0.0" " -o bin/moby > tmp_moby_bin.tar | |
Unable to find image 'linuxkit/go-compile:4513068d9a7e919e4ec42e2d7ee879ff5b95b7f5@sha256:bdfadbe3e4ec699ca45b67453662321ec270f2d1a1dbdbf09625776d3ebd68c5' locally | |
sha256:bdfadbe3e4ec699ca45b67453662321ec270f2d1a1dbdbf09625776d3ebd68c5: Pulling from linuxkit/go-compile | |
627beaf3eaaf: Pulling fs layer | |
1b3a1005911c: Pulling fs layer | |
d58e6f1740ab: Pulling fs layer | |
49418cbb2668: Pulling fs layer | |
49418cbb2668: Waiting | |
627beaf3eaaf: Verifying Checksum | |
627beaf3eaaf: Download complete | |
627beaf3eaaf: Pull complete | |
49418cbb2668: Verifying Checksum | |
49418cbb2668: Download complete | |
d58e6f1740ab: Verifying Checksum | |
d58e6f1740ab: Download complete | |
1b3a1005911c: Verifying Checksum | |
1b3a1005911c: Download complete | |
1b3a1005911c: Pull complete | |
d58e6f1740ab: Pull complete | |
49418cbb2668: Pull complete | |
Digest: sha256:bdfadbe3e4ec699ca45b67453662321ec270f2d1a1dbdbf09625776d3ebd68c5 | |
Status: Downloaded newer image for linuxkit/go-compile@sha256:bdfadbe3e4ec699ca45b67453662321ec270f2d1a1dbdbf09625776d3ebd68c5 | |
gofmt... | |
govet... | |
golint... | |
ineffassign... | |
go build... | |
tar xf tmp_moby_bin.tar > bin/moby | |
rm tmp_moby_bin.tar | |
touch bin/moby | |
tar cf - vendor -C src/cmd/infrakit-instance-hyperkit . | docker run --rm --net=none --log-driver=none -i -e GOOS=darwin -e GOARCH=amd64 linuxkit/go-compile:4513068d9a7e919e4ec42e2d7ee879ff5b95b7f5@sha256:bdfadbe3e4ec699ca45b67453662321ec270f2d1a1dbdbf09625776d3ebd68c5 --package github.com/linuxkit/linuxkit -o bin/infrakit-instance-hyperkit > tmp_infrakit_instance_hyperkit_bin.tar | |
gofmt... | |
govet... | |
golint... | |
ineffassign... | |
go build... | |
tar xf tmp_infrakit_instance_hyperkit_bin.tar > bin/infrakit-instance-hyperkit | |
rm tmp_infrakit_instance_hyperkit_bin.tar | |
touch bin/infrakit-instance-hyperkit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment