Skip to content

Commit

Permalink
[Elastic Agent] Fix jq: command not found (#18408) (#18417)
Browse files Browse the repository at this point in the history
* install jq in separate steps

* changelog

* move up

* comment

* embarrasing commit

* tidy

* Update dev-tools/packaging/templates/docker/Dockerfile.elastic-agent.tmpl

Co-authored-by: Blake Rouse <blake.rouse@elastic.co>

Co-authored-by: Blake Rouse <blake.rouse@elastic.co>

Co-authored-by: Blake Rouse <blake.rouse@elastic.co>
  • Loading branch information
michalpristas and blakerouse authored May 12, 2020
1 parent dbc99b4 commit d37c8c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

FROM {{ .from }}

# Installing jq needs to be installed after epel-release and cannot be in the same yum install command.
RUN yum -y --setopt=tsflags=nodocs update && \
yum install -y epel-release jq \
yum install epel-release -y && \
yum install jq -y && \
yum clean all

LABEL \
Expand Down
1 change: 1 addition & 0 deletions x-pack/elastic-agent/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
- Fix an issue where the checkin_frequency, jitter, and backoff options where not configurable. {pull}17843[17843]
- Ensure that the beats uses the params prefer_v2_templates on bulk request. {pull}18318[18318]
- Stop monitoring on config change {pull}18284[18284]
- Fix jq: command not found {pull}18408[18408]

==== New features

Expand Down

0 comments on commit d37c8c7

Please sign in to comment.