kaniko
kaniko copied to clipboard
Kaniko uses / as a build folder
Actual behavior I'm building images in k8s. Kaniko uses / as a build folder and copies there files from the conext. Therefore it consumes ephemeral storage on a node and makes resource management hard.
Expected behavior I want to be able to specify directory for build and make configure it as ephemeral volume to have a better control.
To Reproduce Steps to reproduce the behavior:
- make a Dockerfile with
COPY . .instruction - build it
Additional Information
- Dockerfile
FROM ubuntu
COPY . .
- Build Context A set of random files
- Kaniko Image (fully qualified with digest) N/A
| Description | Yes/No |
|---|---|
| Please check if this a new feature you are proposing |
|
| Please check if the build works in docker but not in kaniko |
|
Please check if this error is seen when you use --cache flag |
|
| Please check if your dockerfile is a multistage dockerfile |
|