Skip to content

Commit

Permalink
Add classifier to tar.gz in docker compose (#38011)
Browse files Browse the repository at this point in the history
The distribution now includes a platform specific classifier that the
docker build wasn't taking into account.

Relates: #37881
  • Loading branch information
tvernum committed Jan 30, 2019
1 parent 4da7a44 commit 4dee3f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distribution/docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4dee3f7

Please sign in to comment.