Files
moby/hack/make
Kevin Alvarez 7665feeb52 hack: enable Go modules when building dockerd and docker-proxy
This is a workaround to have buildinfo with deps embedded in the
binary. We need to create a go.mod file before building with
-modfile=vendor.mod, otherwise it fails with:
"-modfile cannot be used to set the module root directory."

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-04-25 12:30:52 +02:00
..
2020-03-03 12:27:49 +09:00
2021-06-01 23:48:32 +00:00
2020-03-03 12:27:49 +09:00
2021-06-01 22:14:06 +00:00
2023-01-05 13:21:28 +01:00
2021-06-01 22:14:06 +00:00
2021-06-01 23:48:32 +00:00
2017-07-17 11:39:33 -04:00
2020-03-03 12:27:49 +09: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