3 ms·
Alpine is fine but it would be really nice to have smaller images from the RHEL/CentOS/Fedora or Debian/Ubuntu ecosystems, if that's possible.
by gtirloni 11y ago
Alpine is fine but it would be really nice to have smaller images from the RHEL/CentOS/Fedora or Debian/Ubuntu ecosystems, if that's possible.
- sandGorgon 11y ago+1 I would love to have a stripped down Debian 8 base.
- mverwijs 11y agosudo apt-get install debootstrap mkdir deb8 sudo debootstrap jessie deb8 Combine that with apt-cacher-ng and whooosh. And now all you have to do is tell Ansible what needs to get done in that chroot. And you have a container that matches production one-on-one.
- u320 11y agoOn fedora, you can do something like mkdir /tmp/myimage dnf --releasever=23 --installroot=/tmp/myimage install <package-name> rm -rf /tmp/myimage/var/cache/dnf tar zcvf - /tmp/myimage | docker import - myimage Gives you an image that is ~30M (15M compressed) plus the size of whatever package you are installing. The advantage is that you get access to Fedora's package database with security updates. This could probably be slimmed down further with custom versions of the base packages.