2019-05-07 09:04:13 +08:00
|
|
|
apply plugin: 'base'
|
|
|
|
|
|
|
|
task buildOssDockerBuildContext(type: Tar) {
|
2020-06-18 14:18:09 +08:00
|
|
|
archiveExtension = 'tar.gz'
|
2019-11-13 18:14:04 +08:00
|
|
|
compression = Compression.GZIP
|
|
|
|
archiveClassifier = "docker-build-context"
|
|
|
|
archiveBaseName = "elasticsearch-oss"
|
2020-05-12 18:10:05 +08:00
|
|
|
// Non-local builds don't need to specify an architecture.
|
|
|
|
// Make this explicit via the string value.
|
|
|
|
with dockerBuildContext("<remote>", true, false)
|
2019-05-07 09:04:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
assemble.dependsOn buildOssDockerBuildContext
|