imageproxy
imageproxy copied to clipboard
chore(docker): strip debug information to shrink image size
This PR adds -ldflags='-w -s' to the Dockerfile, which instructs the linker to strip debug information, resulting in a smaller binary size. On my machine, this shrinks the image by 17.4 MB, but each GOOS/GOARCH combo will differ slightly.