Skip to content

Commit

Permalink
Move yum install of epel-release and jq to the docker file and not so…
Browse files Browse the repository at this point in the history
…mething that is done on first start of the docker container. (elastic#18358)
  • Loading branch information
blakerouse authored May 7, 2020
1 parent 0a327bb commit cbbca88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
FROM {{ .from }}

RUN yum -y --setopt=tsflags=nodocs update && \
yum install -y epel-release jq \
yum clean all

LABEL \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ function enroll(){

./{{ .BeatName }} enroll ${KIBANA_HOST:-http://localhost:5601} $apikey -f
}
yum install -y epel-release
yum install -y jq

if [[ -n "${FLEET_SETUP}" ]] && [[ ${FLEET_SETUP} == 1 ]]; then setup; fi
if [[ -n "${FLEET_ENROLL}" ]] && [[ ${FLEET_ENROLL} == 1 ]]; then enroll; fi
Expand Down

0 comments on commit cbbca88

Please sign in to comment.