Skip to content

Conversation

@davethepunkyone
Copy link
Collaborator

Description

This modifies the dockerfile to use a non-root user and actually copy all files needed over into the docker image.

Context

This makes the dockerfile more secure by not running as a root user and will remove security issues in SonarCloud (once enabled for this project).

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes (where appropriate)
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@davethepunkyone davethepunkyone added this to the Initial POC Blueprint milestone Jul 9, 2025
@davethepunkyone davethepunkyone self-assigned this Jul 9, 2025
@davethepunkyone davethepunkyone added the docker Pull requests that update Docker code label Jul 9, 2025
@davethepunkyone davethepunkyone merged commit 3c868fa into main Jul 9, 2025
16 checks passed
@davethepunkyone davethepunkyone deleted the docker-file-amendment branch July 9, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Pull requests that update Docker code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants