mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
[7x backport] Update dockerfile template to allow selection of architecture by env (#12641)
Clean backport of #12636 This commit updates the dockerfile template to support environment variables being used to retrieve the architecture appropriate logstash build, in the same way as is currently done for the Elasticsearch docker build. This is required to support the official dockerhub builds of Logstash. Relates #12578
This commit is contained in:
parent
c96ae0d4bd
commit
de3ee98f87
1 changed files with 2 additions and 2 deletions
|
@ -6,10 +6,10 @@
|
|||
{% endif -%}
|
||||
|
||||
{% if image_flavor == 'oss' -%}
|
||||
{% set tarball = 'logstash-oss-%s-linux-%s.tar.gz' % (elastic_version, arch) -%}
|
||||
{% set tarball = 'logstash-oss-%s-linux-$(arch).tar.gz' % (elastic_version) -%}
|
||||
{% set license = 'Apache 2.0' -%}
|
||||
{% else -%}
|
||||
{% set tarball = 'logstash-%s-linux-%s.tar.gz' % (elastic_version, arch) -%}
|
||||
{% set tarball = 'logstash-%s-linux-$(arch).tar.gz' % (elastic_version) -%}
|
||||
{% set license = 'Elastic License' -%}
|
||||
{% endif -%}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue