Merge pull request #1115 from JordanGoasdoue/allow-build-context-from-local-targz

feat: add support of local '.tar.gz' file inside the kaniko container
This commit is contained in:
Tejal Desai
2020-03-17 15:24:10 -07:00
committed by GitHub
6 changed files with 208 additions and 4 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ func copyDockerfile() error {
return nil
}
// resolveSourceContext unpacks the source context if it is a tar in a bucket
// resolveSourceContext unpacks the source context if it is a tar in a bucket or in kaniko container
// it resets srcContext to be the path to the unpacked build context within the image
func resolveSourceContext() error {
if opts.SrcContext == "" && opts.Bucket == "" {