2019-05-06 21:04:13 -04:00
|
|
|
apply plugin: 'base'
|
|
|
|
|
|
|
|
task buildDockerBuildContext(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"
|
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>", false, false)
|
2019-05-06 21:04:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
assemble.dependsOn buildDockerBuildContext
|