Skip to content

No-Root Nezha-Agent#23

Merged
fewensa merged 2 commits intomainfrom
fewensa-patch-2
Jun 11, 2025
Merged

No-Root Nezha-Agent#23
fewensa merged 2 commits intomainfrom
fewensa-patch-2

Conversation

@fewensa
Copy link
Copy Markdown
Collaborator

@fewensa fewensa commented Jun 10, 2025

No description provided.

@fewensa fewensa requested a review from Copilot June 11, 2025 01:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the Nezha-Agent Dockerfile to run the agent as a non-root user for improved container security.

  • Adds a dedicated nezha system group and user.
  • Switches the container’s user context to nezha.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@fewensa fewensa enabled auto-merge June 11, 2025 01:02
@fewensa fewensa disabled auto-merge June 11, 2025 01:02
@fewensa fewensa merged commit 84b0b99 into main Jun 11, 2025
6 checks passed
@fewensa fewensa deleted the fewensa-patch-2 branch June 11, 2025 01:02
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.

2 participants