butterfly
butterfly copied to clipboard
Alpine based version
As much as I understand having Ubuntu as the default latest
Docker image, there are many cases where a small image is desirable (most Docker images now provide a Linux Alpine version).
I'd suggest having a alpine
tag that runs butterfly based on Alpine Linux.
Also I'd suggest have tagged versions. There two simple ways to do that:
- Use a folder per versioned number, which is the most common.
- Use a git tag per version and use RegExp in Docker Hub to build tagged versions from Git tags (possible and my preferred method even if it's not documented).
There was another thread (which i cant find) discussing using other base images. This makes sense to me. I think i agree with your one folder idea if it is one folder for each base image we want to. That folder will include a Dockerfile to do all the necessary things to make this work with that base OS.
I think adding a make file with options to make all or just one of the base OS would be cool. It would just copy over the code over to the "base OS" dir (which has the Dockerfile already) and then build the image. Or i think docker can now take in a flag on which Dockerfile you want to use?
You can use Docker Hub autobuild to build automatically when the file changes, and also increase trust in your image. It's free.
Sounds good also. It should currently be on an autobuild on Docker hub.