mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-18 08:33:04 +02:00
feat: add support of local '.tar.gz' file inside the kaniko container
This commit is contained in:
committed by
Jordan Goasdoué
parent
861c039c8f
commit
fda7ed4f74
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user