14 lines
406 B
Groovy
14 lines
406 B
Groovy
apply plugin: 'base'
|
|
|
|
task buildDockerBuildContext(type: Tar) {
|
|
extension = 'tar.gz'
|
|
compression = Compression.GZIP
|
|
archiveClassifier = "docker-build-context"
|
|
archiveBaseName = "elasticsearch"
|
|
// Non-local builds don't need to specify an architecture.
|
|
// Make this explicit via the string value.
|
|
with dockerBuildContext("<remote>", false, false)
|
|
}
|
|
|
|
assemble.dependsOn buildDockerBuildContext
|