cert-manager/hack
Maël Valais c09dbb07e4 make: speed up 'docker build' with separate dir contexts
Previously, we had one .dockerignore that would do its best to only have
the binaries and licenses copied into the Docker (or nerdctl, or
buildah). Unfortunately, that meant it had to copy all of bin/server and
bin/cmctl, which could become quite large (I measured 1.6 GB).

Instead of relying on a single .dockerignore file, we copy the licenses
and binaries into a "scratch context" directory. The downside is that
all the binaries are in two different places (bin/server and
bin/scratch/containers). Note that we can't use symlinks because Docker
won't dereference them.

Signed-off-by: Maël Valais <mael@vls.dev>
2022-02-25 16:38:53 +01:00
..
bin Merge pull request #4485 from munnerz/m1-support 2021-10-01 14:03:35 +01:00
boilerplate Make the verify aware of the change 2021-01-08 16:57:03 +01:00
build rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00
containers make: speed up 'docker build' with separate dir contexts 2022-02-25 16:38:53 +01:00
extractcrd Add targets for unit and integration tests in make 2022-02-17 14:48:57 +00:00
util add scripts for sha256 sum calculations 2021-12-15 09:54:15 +00:00
artifact-metadata.template.json Add a makefile flow for building artifacts 2021-12-15 09:54:15 +00:00
BUILD.bazel Add targets for unit and integration tests in make 2022-02-17 14:48:57 +00:00
concat-yaml.sh Add a makefile flow for building artifacts 2021-12-15 09:54:15 +00:00
latest-base-images.sh Add a makefile flow for building artifacts 2021-12-15 09:54:15 +00:00
latest-kind-images.sh Uses upstream kind image with kube 1.23 2021-12-22 15:38:45 +00:00
sha256-of-plugin-tar.sh rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00
test-securitycontext-deprecation.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
update-all.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
update-bazel.sh Bumps versions of Gazelle, go_rules, Kazel, protobuf 2021-03-29 08:25:12 +01:00
update-codegen.sh rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00
update-crds.sh Test conversion code using sample CRDs and remove conversion configuration from cert-manager CRDs 2021-12-14 17:33:22 +00:00
update-deps-licenses.sh Add a comment about staticcheck script 2021-08-23 08:58:20 +01:00
update-deps.sh Add a comment about staticcheck script 2021-08-23 08:58:20 +01:00
update-gofmt.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
verify_boilerplate.py match upstream boilerplate verification for files w/ go:build 2022-01-06 14:57:21 +00:00
verify-bazel.sh rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00
verify-chart-version.sh bump chart-testing image version to v3.5.0 2022-01-10 18:02:25 +00:00
verify-codegen.sh spelling: every 2021-03-04 13:04:38 -05:00
verify-crds.sh rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00
verify-deps-licenses.sh Use yq instead of jq 2021-08-23 07:08:51 +01:00
verify-deps.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
verify-errexit.sh
verify-gofmt.sh Use The cert-manager Authors. 2020-12-11 19:04:13 +01:00
verify-goimports.sh add goimports verification and skeleton ci presubmit check 2022-01-05 15:28:38 +00:00
verify-staticcheck.sh rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00
verify-upgrade.sh rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00