mesos-go has moved to a different API, but were kind enough to leave the old one in place, so I've monkey-patched this issue.
Consul API requires Go >=1.7 to build, but Alpine 3.1 had Go 1.3.3; I've updated Dockerfile to point towards Alpine 3.5 with Go 1.7.3.
A certain kernel bug in overlayfs does not allow removing a file created in another layer (cf. docker/docker#27214). Added a workaround for that.
mesos-go has moved to a different API, but were kind enough to leave the old one in place, so I've monkey-patched this issue. Consul API requires Go >=1.7 to build, but Alpine 3.1 had Go 1.3.3; I've updated Dockerfile to point towards Alpine 3.5 with Go 1.7.3. A certain kernel bug in overlayfs does not allow removing a file created in another layer (cf. docker/docker#27214). Added a workaround for that.