* Nico Schottelius via Postfix-users <postfix-users@postfix.org> [241016 20:10]:
> Package maintainers are usually split into two different approaches:
> 
> - a) Some built containers directly from *their* source, only using the
>   inside distribution as a help to build their own binaries.
> 
>   advantages:
>     - always latest binary right away available
>     - container image can be stripped down to contain your code only
>       (go binaries are often statically compiled) without an OS
>   disadvantage:
>     - it's like a ./configure && make && make install approach on an OS
> 
> - b) Some use the actual operating system and just run the usual apk
>   add/apt-get install
> 
>   advantages:
>     - reusing primitives of the contained OS
>     - reusing other's work
>   disadantage:
>     - requires to wait for others to update the package list before you
>       can publish your own container image
> 
> Personally I prefer (b) approach, as it behaves consistent to a normal
> OS, usually has a /bin/sh included which in turn allows debugging inside
> the container.
> 
> Assuming we'd go with approach (b), the extra workload for the postfix
> project would be:
> 
> - Rerun a docker build & docker push as soon as the underlying OS's
>   update their package repository
> - Update the Dockerfile once the depending operating system updates
>   their image (i.e. The debian based postfix image could have been based
>   on 12.7 and the included postfix version was 3.7.11. Now Debian bumps
>   to 12.8 and the included postfix version is 3.7.20. Then the postfix
>   Dockerfile would change "FROM debian:12.7" to "FROM debian:12.8" and
>   the resulting image tag would change from postfix:3.7.11-debian12.7
>   to postfix:3.7.20-debian12.8.

I don't understand why you think either of these approaches should be
done by postfix devs.  This clearly seems like each distribution that
wishes to have an "official" containerized postfix should build its own.
Why should postfix devs watch each distribution for official releases
and rebuild "postfix-official" containers for each distribution?

...Marvin

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to