Remix.run Logo
mike-cardwell 3 days ago

I find part of the fun of dockerising small apps is in trying to get the image as small as possible with as few files in it as I can. This one looks like it still contains a lot of stuff that's not needed.

For example, my exim image https://hub.docker.com/r/grepular/exim4 is built like this: https://gitlab.com/grepular/docker-exim4/-/blob/main/Dockerf... - The final image only contains the necessary executables, shared lib files, CA certs, timezone files, a few other bits and nothing else.

wink 3 days ago | parent | next [-]

It's a fun exercise but I don't see it as useful for most things I run.

xxx/znc 25.4MB xxx/oidentd 10.6MB

this is based on alpine and at most I could save 30MB total. Not worth the effort for me.

ajsnigrutin 3 days ago | parent | prev | next [-]

by just apt-get installig irssi, those 'few files' are even shared with other applications, making the whole thing even smaller and without the docker overhead.

firesteelrain 3 days ago | parent | prev | next [-]

Wonder if you could go smaller if you used debian:stable-slim and used exim-daemon-light. Also dropping SUID if you don’t absolutely need it.

mike-cardwell 3 days ago | parent [-]

I could go smaller using the light package, but I wanted a full featured Exim in the container. And I'm using the testing image so it keeps up with the latest version of Exim.

katzenversteher 2 days ago | parent | prev [-]

What's the intention behind deletion of the Moscow timezone?