Skip to content

Commit

Permalink
[Elastic Agent] Fix jq: command not found (elastic#18408)
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>
  • Loading branch information
michalpristas and blakerouse authored May 11, 2020
1 parent 5b1927e commit 4a2a355
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 @@ -33,6 +33,7 @@
- Fix default configuration after enroll {pull}18232[18232]
- Fix make sure the collected logs or metrics include streams information. {pull}18261[18261]
- Stop monitoring on config change {pull}18284[18284]
- Fix jq: command not found {pull}18408[18408]

==== New features

Expand Down

0 comments on commit 4a2a355

Please sign in to comment.