Hackademic / hackademic

the main hackademic code repository
GNU General Public License v3.0
318 stars 117 forks source link

Linux Multi-distro support for ContainerEngine #180

Open a0xnirudh opened 9 years ago

a0xnirudh commented 9 years ago

Extend the ContainerEngine to support Linux platforms like Fedora, CentOS, and ArchLinux (as of now only Debian based distros are supported).

northdpole commented 9 years ago

This is the same as the docker issue, afaik the only way to make this distro independed is to use a config management tool.

a0xnirudh commented 9 years ago

Config management tool ? I didn't get what you meant. Basically its as identifying the distro at run time and execute the docker install command (like apt-get as of now and we should extend it to yum install docker if its a fedora machine). Rest will work fine after executing the install script.

northdpole commented 9 years ago

you're describing exactly what puppet or ansible or chef or salt or generally what a config management tool does. Check what puppet or ansible are and you'll see that it's the same :)

a0xnirudh commented 9 years ago

Ooh really ? haha, I will read through it. So yea you were correct, we will have to use a config management tool :)

AmaanC commented 8 years ago

Depending on what's decided in #169, this issue might become irrelevant. If challenge authors are meant to create their own Dockerfiles, we don't need to support different OS's ourselves. We just need to build the Docker images for every individual challenge. If, on the other hand, we want to create a centralized Docker image to host all the challenges, I don't think we need to support different OS's either, because what good would that do? That Docker image would be a very specific one we create in order to host all the challenges, and we don't expect anyone to change them.

Thoughts?