62 Commits
Author SHA1 Message Date
Warren Seymour 319bfde932 Include warmer in debug image
When using Kaniko with certain build systems, such as GitLab CI, it is necessary to use the 'debug' image and override the entrypoint, so that an arbitrary build script can be executed within the container.  Unfortunately, the 'warmer' binary is not available in the 'debug' image, making it impossible to perform a base image cache warmup using such build systems.

This patch addresses this by ensuring that the 'out/warmer' target is made in the initial stage, and that all 'out' files are copied to '/kaniko' in the final stage.
2019-03-15 10:20:13 +00:00
dlorenc 9f65174cb8 Generate the config.json from gcloud rather than relying on a hardcoded one. (#551)
marketplace.gcr.io now requires auth, but our credential helper doesn't know that.
2019-02-04 16:53:59 -06:00
dlorenc 9d10516698 Reorder the Dockerfile for faster iterations. (#515) 2019-01-09 10:39:41 -08:00
Vincent Behar d10e3f5b74 Whitelist /busybox in the debug image
In the debug image, declare /busybox as a volume so that it is automatically whitelisted, because we don't want to delete it when building multi-stages images.

FYI this is required when using Jenkins, because we need to use the debug kaniko image to be able to start the container "doing nothing" (with /busybox/cat) before building (by executing /kaniko/executor directly inside the container)
See https://issues.jenkins-ci.org/browse/JENKINS-52576
2018-09-28 10:55:08 +02:00
priyawadhwa 52e9863810 fix add command bug when adding remote URLs (#277) 2018-08-07 17:10:27 -07:00
Nicolas Byl c17b2d5533 fix build of debug image 2018-06-18 23:35:15 +02:00
Priya Wadhwa e3f4dc479d Move all files in executor image to /kaniko directory 2018-05-21 14:08:06 -07:00
Priya Wadhwa f69be3548a Add busybox to path for debug image 2018-05-11 11:27:13 -07:00
Priya Wadhwa 4deb37577c Add busybox shell in dockerfile 2018-05-10 12:55:34 -07:00
Priya Wadhwa 3da6215db4 Create debug image with busybox shell 2018-05-07 15:18:28 -07:00
Priya Wadhwa ebdf0eafc3 Build kaniko with docker 2018-04-26 14:39:22 -07:00
Priya Wadhwa 0343e6b50b Release executor based off debian for debugging 2018-04-25 15:21:42 -07:00