refactor(Docker)!: 💥 Changes Dockerfile to more closely adhere to best practice #4

Merged
florian merged 1 commits from fix/3/dockerfile-best-practice into main 2024-01-12 20:18:37 +01:00
Owner

This commit changes the Dockerfile to adhere closer to the standards set by tools like Sonarqube et al.
It enforces the usage of a nonroot user, copies files explicitly between build stages and makes the binary
filename consistent with our binary releases.

fix: #3

BREAKING CHANGE: This commit changes the name of the binary inside the Docker image. If you are using
the Docker image with a custom commandline or entrypoint update your references from /app/mybot to
/app/gitea-register-account-bot

This commit changes the Dockerfile to adhere closer to the standards set by tools like Sonarqube et al. It enforces the usage of a nonroot user, copies files explicitly between build stages and makes the binary filename consistent with our binary releases. fix: #3 BREAKING CHANGE: This commit changes the name of the binary inside the Docker image. If you are using the Docker image with a custom commandline or entrypoint update your references from `/app/mybot` to `/app/gitea-register-account-bot`
florian added the
Kind/Security
Kind/Breaking
Priority
Medium
labels 2024-01-12 20:17:57 +01:00
florian self-assigned this 2024-01-12 20:17:57 +01:00
florian added 1 commit 2024-01-12 20:17:58 +01:00
refactor(Docker): 💥 Changes Dockerfile to more closely adhere to best practice
All checks were successful
Test Changes on Push / build-vet-test (push) Successful in 21s
e19b8dfc7c
This commit changes the Dockerfile to adhere closer to the standards set by tools like Sonarqube et al. It enforces the usage of a nonroot user, copies files explicitly between build stages and makes the binary filename consistent with our binary releases

fix: #3
florian merged commit bcd77f2dd3 into main 2024-01-12 20:18:37 +01:00
florian deleted branch fix/3/dockerfile-best-practice 2024-01-12 20:18:37 +01:00
Sign in to join this conversation.
No description provided.