docker-netatalk icon indicating copy to clipboard operation
docker-netatalk copied to clipboard

Refactoring

Open solidnerd opened this issue 8 years ago • 3 comments

Hey @cptactionhank ,

thanks for your work on this awesome image. I tried it out and it works directly out of the box. I did some refactoring to the Dockerfile this resulted in a smaller image size because the problem of your current Dockerfile is that you are trying to remove something for an another layer and this doesn't work. The netatalk image is your builded image from your current Dockerfile from master. I did some refactorings and now we got only 217.9 MB on my refactored image.

REPOSITORY               TAG                 IMAGE ID            CREATED             SIZE
netatalk-new             latest              2fca29ab7490        33 minutes ago      217.9 MB
netatalk                 latest              25253d84d2e5        2 hours ago         506.3 MB

WDYT ?

solidnerd avatar Nov 16 '16 19:11 solidnerd

Nice work! Bump..

AGresvig avatar Jan 16 '17 13:01 AGresvig

Thanks :)

solidnerd avatar Jan 16 '17 13:01 solidnerd

Can't you get this even smaller by using multi-stage build and just copy the resulting compiled binary to a new image?

utdrmac avatar Dec 06 '19 15:12 utdrmac