Open Neirda24 opened 1 year ago
Hi.
Actual behavior Kaniko does not seem to support either multiple build contexts nor named ones.
Expected behavior See this article https://www.docker.com/blog/dockerfiles-now-support-multiple-build-contexts/
that allows syntax such as COPY --from=some_context where some_context is set during docker build
COPY --from=some_context
some_context
docker build
To Reproduce Run kaniko
Additional Information
FROM scratch COPY . . COPY --from=my_context . /other-directory
$ docker build --build-context my_context=/some/directory /some/other/directory
Triage Notes for the Maintainers
--cache
Any updates here? @aaron-prindle @JeromeJu
Hi.
Actual behavior Kaniko does not seem to support either multiple build contexts nor named ones.
Expected behavior See this article https://www.docker.com/blog/dockerfiles-now-support-multiple-build-contexts/
that allows syntax such as
COPY --from=some_context
wheresome_context
is set duringdocker build
To Reproduce Run kaniko
Additional Information
Triage Notes for the Maintainers
--cache
flag