flattens image
This commit is contained in:
parent
4026b40c75
commit
73257beb8e
@ -75,7 +75,7 @@ RUN printf '%s\\n' "-----BEGIN CERTIFICATE-----" \\
|
|||||||
"""
|
"""
|
||||||
writeFile(file: workspace + '/Dockerfile', text: DF)
|
writeFile(file: workspace + '/Dockerfile', text: DF)
|
||||||
|
|
||||||
sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/${image}:${rhOS}\""
|
sh "/kaniko/executor --context \"${workspace}\" -f \"${workspace}/Dockerfile\" --destination \"${repository}/library/${image}:${rhOS}\" --single-snapshot"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user