Skip to content

Commit

Permalink
warning that order matters
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas committed Oct 12, 2023
1 parent b9d3981 commit d037d95
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ RUN chown {{ .user }} /app
{{- end }}
{{- end }}

# Keep this after any chown command, chown resets any applied capabilities
RUN setcap cap_net_raw,cap_setuid+p {{ $beatHome }}/data/elastic-agent-{{ commit_short }}/components/heartbeat && \
{{- if .linux_capabilities }}
# Since the beat is stored at the other end of a symlink we must follow the symlink first
Expand Down

0 comments on commit d037d95

Please sign in to comment.