Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From the docker-slim README:

    Node.js application images:
        from ubuntu:14.04 - 432MB => 14MB (minified by 30.85X)
        from debian:jessie - 406MB => 25.1MB (minified by 16.21X)
        from node:alpine - 66.7MB => 34.7MB (minified by 1.92X)
        from node:distroless - 72.7MB => 39.7MB (minified by 1.83X)
Why are the minified Alpine images bigger than Ubuntu/Debian? Are a bunch of binaries using static linking and inflating the image? Or something else?


You can try using the xray command that will give you clues (docker-slim isn't just minification :-)). The diff capability in the Slim web portal is even more useful (built on top of xray).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: