build: optimize image size

proppy/docker-registry                        latest              fd64cac05131        About a minute ago   277.8 MB