mirror of https://github.com/google/oss-fuzz.git
[infra] parent dir tweaks
This commit is contained in:
parent
391bbdac51
commit
1b0948faa5
|
@ -60,10 +60,9 @@ def call(body) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dockerContextDir == null) {
|
if (dockerContextDir == null) {
|
||||||
dockerContextDir = new File(workspace, dockerfile)
|
dockerContextDir = new File(dockerfile)
|
||||||
.getAbsoluteFile()
|
|
||||||
.getParentFile()
|
.getParentFile()
|
||||||
.getAbsolutePath();
|
.getPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
sh "docker build -t $dockerTag -f $dockerfile $dockerContextDir"
|
sh "docker build -t $dockerTag -f $dockerfile $dockerContextDir"
|
||||||
|
|
Loading…
Reference in New Issue