cert-manager/make
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
..
base_images.mk bump base images 2022-01-04 14:49:15 +00:00
ci.mk Allow helm chart verification in both bazel + make 2022-01-10 18:02:14 +00:00
cmctl.mk rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00
containers.mk make: speed up 'docker build' with separate dir contexts 2022-02-25 16:38:53 +01:00
git.mk make: rebuild images when a different commit is checked out 2022-02-25 16:38:53 +01:00
licenses.mk rename all uses of github.com/jetstack/cert-manager 2022-02-02 09:08:31 +00:00
Makefile Add targets for unit and integration tests in make 2022-02-17 14:48:57 +00:00
manifests.mk Add targets for unit and integration tests in make 2022-02-17 14:48:57 +00:00
release_containers.mk
server.mk
test.mk log latest known tag when prepping integration tests 2022-02-18 16:43:37 +00:00
tools.mk Add targets for unit and integration tests in make 2022-02-17 14:48:57 +00:00