Skip to content

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

@github-actions

Description

@github-actions

Codacy ID: abce298abca6d610008b217b22d765da

File: MessagingService/Dockerfile
Line: 34
Rule: Security (High)
Commit: c615e72147bf1f47ec301470ae5601fd52f5406f

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", "MessagingService.dll"] 
```

Metadata

Metadata

Labels

securitySecurity-related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions