2019-05-06 21:04:13 -04:00
|
|
|
apply plugin: 'base'
|
|
|
|
|
|
|
|
task buildDockerBuildContext(type: Tar) {
|
2019-11-14 06:01:23 -05:00
|
|
|
extension = 'tar.gz'
|
|
|
|
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
|