Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vulture container image to run as non-root #3764

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pharaujo
Copy link

@pharaujo pharaujo commented Jun 8, 2024

What this PR does:

Follow-up to #2265 which missed tempo-vulture

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@CLAassistant
Copy link

CLAassistant commented Jun 8, 2024

CLA assistant check
All committers have signed the CLA.

@pharaujo
Copy link
Author

@zalegrala would you mind having a look?

RUN addgroup -g 10001 -S tempo && \
adduser -u 10001 -S tempo -G tempo

RUN mkdir -p /var/tempo && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vulture doesn't write data locally, and so the mkdir and associated chown aren't required.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed.

Follow-up to grafana#2265 which missed tempo-vulture

Signed-off-by: Pedro Araujo <phcrva@gmail.com>
Copy link
Contributor

@zalegrala zalegrala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Did you have a chance to build an image and test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants