smebberson / docker-alpine

Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
MIT License
596 stars 186 forks source link

You can use the alpine package in testing for consul #4

Closed neeravkumar closed 8 years ago

neeravkumar commented 8 years ago

Hi,

Alpine has recently added a package for consul, its in testing right now:

http://wiki.alpinelinux.org/wiki/User_talk:Jch/consul

So, this might be something you would want to consider.

smebberson commented 8 years ago

I will definitely keep an eye on it. Although, it seems as though it might be quite opinionated in it's setup and less flexible perhaps that what we're going for here?

neeravkumar commented 8 years ago

That's true, good work on making the whole go install + git checkout an atomic step. I prefer the convenience of OS packages and that is why I wanted to mention it here.

Maybe your step could be just getting the package and extracting the binary since that is the biggest part of this setup.

smebberson commented 8 years ago

Yeah, I agree, I generally prefer OS packages. I did look for one, but there was nothing at the time. If I had more time, I would teach myself how to create my own Alpine package and create a dead simple one. But I have no extra for that at the moment.

I'll definitely keep an eye on it.

On Fri, Sep 18, 2015 at 3:08 PM, Neerav Kumar notifications@github.com wrote:

That's true, good work on making the whole go install + git checkout an atomic step. I prefer the convenience of OS packages and that is why I wanted to mention it here.

Maybe your step could be just getting the package and extracting the binary since that is the biggest part of this setup.

— Reply to this email directly or view it on GitHub https://github.com/smebberson/docker-alpine/issues/4#issuecomment-141350678 .

matthewvalimaki commented 8 years ago

Since Consul version 0.6.0 we do not need to compile it ourselves, the binary provided by HashiCorp for Linux AMD 64 works. I suggest that to be used in the absence of package.

smebberson commented 8 years ago

I'm going to close this in favour of #19