Skip to content

Commit

Permalink
[Heartbeat] Only setuid in elastic-agent image (elastic#28577)
Browse files Browse the repository at this point in the history
Fixes elastic#28572 by only invoking setuid in the elastic-agent container, and
no longer in the heartbeat container. See the linked issue for details.
  • Loading branch information
andrewvc authored and wiwen committed Nov 1, 2021
1 parent 63a90f5 commit 125c423
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dev-tools/packaging/templates/docker/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ USER {{ .user }}
{{- if (and (eq .BeatName "heartbeat") (not (contains .from "ubi-minimal"))) }}
# Setup synthetics env vars
ENV ELASTIC_SYNTHETICS_CAPABLE=true
ENV BEAT_SETUID_AS={{ .user }}
ENV SUITES_DIR={{ $beatHome }}/suites
ENV NODE_VERSION=14.17.5
ENV PATH="$NODE_PATH/node/bin:$PATH"
Expand Down

0 comments on commit 125c423

Please sign in to comment.