Skip to content

Commit

Permalink
Elastic agent counterpart of elastic/beats#33362
Browse files Browse the repository at this point in the history
Always use the stack_release label for npm i

No changelog necessary since there are no user-visible changes
  • Loading branch information
andrewvc committed Oct 14, 2022
1 parent 6eadeef commit 3a85ff5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ RUN cd {{$beatHome}}/.node \
RUN chown -R {{ .user }} $NODE_PATH
USER {{ .user }}
# If this fails dump the NPM logs
RUN npm i -g --loglevel verbose -f @elastic/synthetics || sh -c 'tail -n +1 /root/.npm/_logs/* && exit 1'
RUN npm i -g --loglevel verbose -f @elastic/synthetics@stack_release || sh -c 'tail -n +1 /root/.npm/_logs/* && exit 1'
RUN chmod ug+rwX -R $NODE_PATH
USER root

Expand Down

0 comments on commit 3a85ff5

Please sign in to comment.