Skip to content

[Security] By not specifying a USER, a program in the container may run as 'root'. This is a security hazard. #1519

Closed

Description

@github-actions

Codacy ID: db9ae5cb402c755a414bef553deae59a

File: TransactionProcessor/Dockerfile
Line: 28
Rule: Security (High)
Commit: 8d0bcc5eb820824c8574f70888353f9cc9b1320c

Message: By not specifying a USER, a program in the container may run as 'root'. This is a security hazard.

**Code Snippet:**
```csharp
ENTRYPOINT ["dotnet", "TransactionProcessor.dll"] 
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions