From 3a85ff54662b264a600e8a88338af1a3b1a28f1e Mon Sep 17 00:00:00 2001 From: Andrew Cholakian Date: Fri, 14 Oct 2022 16:44:27 -0500 Subject: [PATCH] Elastic agent counterpart of https://github.com/elastic/beats/pull/33362 Always use the stack_release label for npm i No changelog necessary since there are no user-visible changes --- .../packaging/templates/docker/Dockerfile.elastic-agent.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/packaging/templates/docker/Dockerfile.elastic-agent.tmpl b/dev-tools/packaging/templates/docker/Dockerfile.elastic-agent.tmpl index 02358d16d57..760d5e9949a 100644 --- a/dev-tools/packaging/templates/docker/Dockerfile.elastic-agent.tmpl +++ b/dev-tools/packaging/templates/docker/Dockerfile.elastic-agent.tmpl @@ -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