2019-05-06 21:04:13 -04:00
|
|
|
apply plugin: 'base'
|
|
|
|
|
|
|
|
task buildOssDockerBuildContext(type: Tar) {
|
2020-06-23 03:11:46 -04:00
|
|
|
archiveExtension = 'tar.gz'
|
2019-11-14 06:01:23 -05:00
|
|
|
compression = Compression.GZIP
|
|
|
|
archiveClassifier = "docker-build-context"
|
|
|
|
archiveBaseName = "elasticsearch-oss"
|
2020-05-12 06:10:05 -04: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-06 21:04:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
assemble.dependsOn buildOssDockerBuildContext
|