charon
charon copied to clipboard
dockerfile: optimize Dockerfile
Hello!
This PR optimizes the Dockerfile.
Changes include:
- Combined RUN commands to reduce the number of layers
- Cached Go dependencies to speed up build times
- Cleaned up unnecessary apt files to reduce image size
- Consolidated user creation and permission setting commands
Category: refactor
Reduced image size from 370MB to 302MB
@KaloyanTanev can you rerun tests? title name was fixed
I am good with this PR, will delegate final approval and merge to @KaloyanTanev
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code