matthew-gill / ObjectOrientedDocker

Create Dockerfiles using PHP with multistage and inheritance
MIT License
5 stars 0 forks source link

Looking for collaborators! #1

Open matthew-gill opened 4 years ago

matthew-gill commented 4 years ago

Hey if you think this project is interesting, I'd love to get you involved! I'm going to at a couple of people... feel free to unfollow if not interested!

@joesaunderson @edhgoose @imjoehaines

matthew-gill commented 4 years ago

@dakkusingh you might be interested in this too!

NotMoni commented 4 years ago

I am will to learn and help. Feel free to contact me. 🦄

matthew-gill commented 4 years ago

I am will to learn and help. Feel free to contact me. 🦄

Thank you so much @NotMoni !! If you have any suggestions or want to contribute feel free to raise a PR!

I got a good idea from a comment on reddit:

What would be neat is if you wrote a higher-level DSL over it.  Start with aliases, vaguely like this:

$this->port(8080);
$this->volume('data');

Then for a more complex DSL:

$this->setDistribution(new Distro\Debian);   // or alpine or centos or ...

// The distro object above knows whether to use apt/yum/apk etc
$this->packages()
  ->add('foo', '>2.3')
  ->add('bar') 
  ->install();

So that's gonna be my next feature I think!

NotMoni commented 4 years ago

I don't use docker much but I'll look into it. Cool!