Add classifier to tar.gz in docker compose (#38011)

The distribution now includes a platform specific classifier that the
docker build wasn't taking into account.

Relates: #37881
This commit is contained in:
Tim Vernum 2019-01-30 20:13:48 +11:00 committed by GitHub
parent 4da7a44648
commit 4dee3f7418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -18,8 +18,9 @@ dependencies {
}
ext.expansions = { oss ->
String classifier = 'linux-x86_64'
return [
'elasticsearch' : oss ? "elasticsearch-oss-${VersionProperties.elasticsearch}.tar.gz" : "elasticsearch-${VersionProperties.elasticsearch}.tar.gz",
'elasticsearch' : oss ? "elasticsearch-oss-${VersionProperties.elasticsearch}-${classifier}.tar.gz" : "elasticsearch-${VersionProperties.elasticsearch}-${classifier}.tar.gz",
'jdkUrl' : 'https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz',
'jdkVersion' : '11.0.2',
'license': oss ? 'Apache-2.0' : 'Elastic License',