1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack/make
Sebastiaan van Stijn 297b30df5f
Bash scripts; use double brackets, fix bare variables, add quotes
These scripts explicitly use Bash, so we should be able to use
`[[` instead of `[` (which seems to be recommended).

Also added curly brackets to some bare variables, and quoted some paths.

This makes my IDE a bit more silent :-)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-12-24 00:05:14 +01:00
..
.resources-windows Windows: Support running dockerd as a service 2016-04-26 14:04:47 -07:00
.binary Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
.binary-setup Remove 'docker-' prefix for containerd and runc binaries 2018-09-24 21:49:03 +00:00
.detect-daemon-osarch Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
.ensure-emptyfs Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
.go-autogen Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
.go-autogen.ps1 fix typo 2018-09-08 08:13:30 +08:00
.integration-daemon-setup Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
.integration-daemon-start Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
.integration-daemon-stop Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
.integration-test-helpers Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
binary Remove cmd/docker and other directories in cli/ in accordance with the new Moby project scope 2017-05-05 12:14:29 -07:00
binary-daemon Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
build-integration-test-binary Fix .go-autogen warnings 2017-11-01 12:03:32 +01:00
containerutility Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
cross Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
cross-platform-dependent Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
dynbinary Remove cmd/docker and other directories in cli/ in accordance with the new Moby project scope 2017-05-05 12:14:29 -07:00
dynbinary-daemon Add osusergo build tar for static binaries 2018-07-19 12:25:46 +03:00
install-binary Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
README.md Remove test-unit from hack/make 2017-07-17 11:39:33 -04:00
run Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
test-docker-py Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
test-integration Bash scripts; use double brackets, fix bare variables, add quotes 2018-12-24 00:05:14 +01:00
test-integration-cli Fixed typo DEREPCATED -> DEPRECATED. 2017-12-29 06:39:09 -05:00
test-integration-shell Protect images in the integration/ suite 2017-08-09 11:02:57 -04:00

This directory holds scripts called by make.sh in the parent directory.

Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:

./hack/make.sh binary ubuntu

# Or to run all default bundles:
./hack/make.sh

To add a bundle:

  • Create a shell-compatible file here
  • Add it to $DEFAULT_BUNDLES in make.sh