Closed robison closed 5 years ago
This cuts to built size of the Daytona docker image from ~18.3mb to ~4.9mb, a savings of 73%. Accomplished via use of ldflags (-s -w) passed during the build, and compressing the built artifact with upx.
-s -w
upx
This cuts to built size of the Daytona docker image from ~18.3mb to ~4.9mb, a savings of 73%. Accomplished via use of ldflags (
-s -w
) passed during the build, and compressing the built artifact withupx
.