feat: add support of local '.tar.gz' file inside the kaniko container

This commit is contained in:
Jordan GOASDOUE
2020-03-12 22:51:30 +01:00
committed by Jordan Goasdoué
parent 861c039c8f
commit fda7ed4f74
6 changed files with 208 additions and 4 deletions
+1 -1
View File
@@ -230,7 +230,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 == "" {