Icinga / docker-icinga2

Official Icinga 2 Docker images
GNU General Public License v2.0
67 stars 30 forks source link

Reduce image size 1GB -> 0.3GB #85

Closed Al2Klimov closed 1 year ago

Al2Klimov commented 1 year ago

Commit messages and diff(s) should be self-explanatory.

Ex. for 86814d911d423fc399f9956723dd550b1cd1c345, don't ask me or the internet why that even worked before.

julianbrost commented 1 year ago

Ex. for 86814d9, don't ask me or the internet why that even worked before.

root@58142e2bc807:/# apt-get install libboost-context1.74
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libboost-context1.74-dev' for regex 'libboost-context1.74'
Note, selecting 'libboost-context1.74.0' for regex 'libboost-context1.74'
Al2Klimov commented 1 year ago

This answers how, but now why.

julianbrost commented 1 year ago

Isn't "because libboost-context1.74 is interpreted as a regex and thus installed the actually needed package libboost-context1.74.0 (among others)" also an answer to why it worked?

Al2Klimov commented 1 year ago

Well, it works now #85 as should, that's all I want.

Al2Klimov commented 1 year ago

CC @martialblog