summaryrefslogtreecommitdiff
path: root/hack/make/binary
Commit message (Collapse)AuthorAgeFilesLines
* Move proxy build into hack/makeBrian Goff2021-06-011-0/+1
| | | | Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Remove cmd/docker and other directories in cli/ in accordance with the new ↵Arnaud Porterie (icecrime)2017-05-051-5/+0
| | | | | | | | | | | | | | | | | | | Moby project scope Starting with this commit, integration tests should no longer rely on the docker cli, they should be API tests instead. For the existing tests the scripts will use a frozen version of the docker cli with a DOCKER_API_VERSION frozen to 1.30, which should ensure that the CI remains green at all times. To help contributors develop and test manually with a modified docker cli, this commit also adds a DOCKER_CLI_PATH environment variable to the Makefile. This allows to set the path of a custom cli that will be available inside the development container and used to run the integration tests. Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com> Signed-off-by: Tibor Vass <tibor@docker.com>
* Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"Tianon Gravi2017-02-131-1/+1
| | | | | | This is especially important for distributions like NixOS where `/bin/bash` doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
* Add `make install` taskBrian Goff2016-06-031-0/+1
| | | | | | | | This installs docker and dockerd to `$DOCKER_MAKE_INSTALL_PREFIX/bin`, which defaults to `/usr/local/bin` Signed-off-by: Brian Goff <cpuguy83@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Cleanup from CR.Daniel Nephin2016-04-231-1/+1
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Build two binaries client and daemon.Daniel Nephin2016-04-221-60/+9
| | | | | | | | | | | | | Add a proxy to support 'docker daemon' Fix configFile option, and remove a test that is no longer relevant. Remove daemon build tag. Remove DOCKER_CLIENTONLY from build scripts. Signed-off-by: Daniel Nephin <dnephin@docker.com> Change docker-daemon to dockerd. Signed-off-by: Daniel Nephin <dnephin@docker.com>
* move hardware signing out of experimental, remove dependencies to ↵Riyaz Faizullabhoy2016-03-281-1/+1
| | | | | | yubico-piv-tool Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
* Revert "Merge pull request #21003 from riyazdf/hardware-signing-ga"cyli2016-03-241-1/+1
| | | | | | | This reverts commit e6d3a9849c96201681915944947a0e5452619929, reversing changes made to d3afe34b51e7588984cc21a2f48da116645e52e3. Signed-off-by: cyli <cyli@twistedmatrix.com>
* Export GOOS and GOARCH in subprocess for tgzMichael Crosby2016-03-221-1/+1
| | | | Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
* Add function for copy containerdMichael Crosby2016-03-221-15/+1
| | | | | | | This adds a function for copying containerd and other binaries as well as adding a hash for those files. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
* Add containerd/runc exes to bundle dir after buildDoug Davis2016-03-211-0/+15
| | | | | | | | | | Not sure if this is the right setup given the containerd change but I need to have the built version of the nested exes (containerd, runc...) available to me after the build is completed so I'm always testing using the latest versions. This PR will copy them into the same bundles dir so people can them use them if they wish w/o having to build each separately. Signed-off-by: Doug Davis <dug@us.ibm.com>
* Update packaging for yubicoRiyaz Faizullabhoy2016-03-071-1/+1
| | | | Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
* Add `DOCKER_BUILD_GOGC` to tweak GOGC for compileBrian Goff2016-01-271-0/+2
| | | | Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Windows: Remove linkmode internal hackJohn Howard2016-01-141-7/+0
| | | | Signed-off-by: John Howard <jhoward@microsoft.com>
* Use -z,muldefs on arm,x86Nalin Dahyabhai2015-12-021-0/+16
| | | | | | | | | Assume that the linker can make sense of us passing in the -z,muldefs option to tell it to ignore symbol-multiply-defined errors triggered by https://github.com/golang/go/issues/9510. We should be able to stop doing this once we move to Go 1.6. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> (github: nalind)
* Remove "-linkmode external"Tianon Gravi2015-11-151-1/+1
| | | | | | We're having to override it in so many places that it no longer seems worthwhile to bother. On top of that, the reason we did it in the first place was for being able to compile devicemapper statically, which still works after this change (either due to other changes in the way we build, or improvements in Go itself). Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
* update for macJessica Frazelle2015-11-131-2/+9
| | | | Signed-off-by: Jessica Frazelle <acidburn@docker.com>
* add buildtag pkcs11 to experimentalJessica Frazelle2015-11-131-0/+4
| | | | Signed-off-by: Jessica Frazelle <acidburn@docker.com>
* Windows: Native daemon buildJohn Howard2015-11-061-0/+6
| | | | Signed-off-by: John Howard <jhoward@microsoft.com>
* update to binaries, fix parsers package, non-parallel test unitJessica Frazelle2015-10-271-1/+1
| | | | Signed-off-by: Jessica Frazelle <acidburn@docker.com>
* make windows cross compile static daemon workJessica Frazelle2015-08-101-0/+13
| | | | Signed-off-by: Jessica Frazelle <acidburn@docker.com>
* Make "DEST" a make.sh construct instead of ad-hocTianon Gravi2015-05-301-6/+0
| | | | | | Using "DEST" for our build artifacts inside individual bundlescripts was already well-established convention, but this officializes it by having `make.sh` itself set the variable and create the directory, also handling CYGWIN oddities in a single central place (instead of letting them spread outward from `hack/make/binary` like was definitely on their roadmap, whether they knew it or not; sneaky oddities). Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
* Make which cross binary fails clearerJohn Howard2015-05-151-0/+1
| | | | Signed-off-by: John Howard <jhoward@microsoft.com>
* hack/make/test-integration-cli: introduce MAKEDIR variableJörg Thalheim2015-04-151-1/+1
| | | | | | | - every execution of dirname costs time - less repeating Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
* Fix several very minor consistency issuesTianon Gravi2015-03-171-0/+1
| | | | Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
* Move scripts back to hack/, leave docs in project/Tianon Gravi2015-03-131-0/+27
| | | | | | This also removes the now-defunct `*maintainer*.sh` scripts that don't work with the new TOML format, and moves a couple not-build-or-release-related scripts to `contrib/` instead. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
* Move 'hack' to the less confusing 'project'Solomon Hykes2014-11-091-17/+0
| | | | | | | We might want to break it up into smaller pieces (eg. tools in one place, documents in another) but let's worry about that later. Signed-off-by: Solomon Hykes <solomon@docker.com>
* Revert "Use code generation to set IAMSTATIC instead of -X"Jessica Frazelle2014-10-281-11/+0
| | | | | | | | | | | This reverts commit 3e10b93106dea94e5747ab32fe4ac765aa22f9bc. Conflicts: .gitignore hack/make.sh hack/make/dynbinary Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
* Use code generation to set IAMSTATIC instead of -XMichael Hudson-Doyle2014-10-241-0/+11
| | | | Signed-off-by: Michael Hudson-Doyle <michael.hudson@linaro.org>
* Update bundlescripts to use "set -e" consistentlyTianon Gravi2014-04-091-0/+1
| | | | | | "set -e" is already inherited here from make.sh, but explicit is always better than implicit (hence the "set -e" in the first place!) Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
* Small tweaks to the hack scripts to make them simplerTianon Gravi2014-03-291-0/+1
| | | | | | Please do with this as you please (including rebasing and/or squashing it), especially under clause (c) of the DCO. Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
* Fix a lot of the sha256 and md5 stuff to be more DRY and extendible, and on ↵Tianon Gravi2014-03-191-7/+2
| | | | | | more things (specifically, the tgz files too) Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
* whitespace-blindSven Dowideit2014-03-201-1/+0
| | | | Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
* Generate md5 and sha265 hashes when building, and upload them in hack/release.shSven Dowideit2014-03-201-0/+8
| | | | Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
* Fix dynbinary so that dockerinit can still be properly static even if it has ↵Tianon Gravi2014-03-061-1/+8
| | | | | | to link against libapparmor for Ubuntu Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
* Update build tags such that we can properly compile on all platforms ↵Tianon Gravi2014-03-061-1/+1
| | | | | | (especially for packagers), and updated hack/PACKAGERS.md to mention the DOCKER_BUILDTAGS variable that will need to be set for binaries that might be used on AppArmor (such as Debian and especially Ubuntu) Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
* Add buildflags to allow crosscompilation for apparmorGuillaume J. Charmes2014-03-061-1/+1
| | | | Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes <guillaume.charmes@docker.com> (github: creack)
* Add -a to our BUILDFLAGS directly, which fixes some fun test compilation issuesTianon Gravi2013-12-181-1/+1
| | | | Also, now that we use "-a", we no longer get any benefit from "go test -i", and it actually causes problems sometimes, so let's nuke it.
* Add "-a" back to our "go build"Tianon Gravi2013-12-161-1/+1
|
* Update bundlescript shebangs to be bash, reflecting how they're actually invokedTianon Gravi2013-12-021-1/+1
|
* Add dynbinary and dyntest scripts for building/testing a separate static ↵Tianon Gravi2013-10-251-1/+1
| | | | | | dockerinit binary After a nice long brainstorming session with @shykes on IRC, we decided on using a SHA1 hash of dockerinit compiled into the dynamic docker binary to ensure that we always use the two in a perfect pair, and never mix and match.
* Refactor the handling of static-related build flagsTianon Gravi2013-10-251-2/+1
| | | | This is as discussed with @shykes on IRC
* Add links for container relationships and introspectionMichael Crosby2013-10-251-3/+3
|
* Add cleanup/refactor portion of #2010 for hack and Dockerfile updatesTianon Gravi2013-09-301-3/+3
|
* Add several of the small make.sh fixes from #1920, and make the output more ↵Tianon Gravi2013-09-241-0/+3
| | | | consistent and contributor-friendly, since release instructions already exist in release.sh
* Break down hack/make.sh into small scripts, one per 'bundle': test, binary, ↵Solomon Hykes2013-09-091-0/+4
ubuntu etc.