Files
moby/hack/make
Paweł Gronowski 0d1aba547e hack/make: Don't add -buildmode=pie with -race
Make it possible to add `-race` to the BUILDFLAGS without making the
build fail with error:
"-buildmode=pie not supported when -race is enabled"

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit bbe6e9e8d1)
2023-01-05 20:27:08 +01:00
..
2020-03-03 12:27:49 +09:00
2023-01-02 18:46:02 +01: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
2021-06-01 22:14:06 +00:00
2023-01-02 18:46:02 +01:00
2023-01-02 18:46:02 +01: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