osixia / container-baseimage

A container base image to build reliable single or multiprocess images quickly 🐳✨🌴
MIT License
132 stars 115 forks source link

Use alpine linux instead of debian #4

Open galindro opened 8 years ago

galindro commented 8 years ago

What do you think to use Alpine Linux as base image of this project instead of Debian? I can help you if you want.

osixia commented 8 years ago

Hello, yes sure :)

I made a test a few months ago with linux alpine on feature-linux-alpine branch but I'm not very familiar with alpine so i didn't release that.

I installed bash, python and py-yaml and the image works fine but the "service-available" (cfssl, cron, logrotate, runit and syslog-ng-core) need to be adapted to apline also this is the complicated part for me.

Your help is welcome :)

Maybe we also need to rethink more globally how the image works to adapt it to alpine i'm open to any proposition

osixia commented 8 years ago

I just release a beta version of osixia/alpine-light-baseimage feel free to test it :)

  docker pull osixia/alpine-light-baseimage

Source code in branch: feature-linux-alpine

Images size : osixia/alpine-light-baseimage: 44.88 MB osixia/light-baseimage (debian jessie): 166.7 MB osixia/ubuntu-light-baseimage: 217.1 MB

phusion/baseimage (ubuntu) 225.6 MB

galindro commented 8 years ago

@osixia My sincere apologies for my absence in this thread. I needed to stop work with docker for some time because my work. As soon I return, I'll test this feature.

Thank you very much!