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
Test Changes on Push / build-vet-test (push) Successful in 21s Details
e19b8dfc7c
refactor(Docker): 💥 Changes Dockerfile to more closely adhere to best practice
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 reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: beisel.org/gitea-register-account-bot#4
No description provided.