Attempting to compile under ubuntu (to fix the search domain 'feature' or alpine linux) fails with the following error:
root@81ada8270ab0:/go/src/github.com/CiscoCloud/mesos-consul# go get
# github.com/CiscoCloud/mesos-consul/mesos/zkdetect
mesos/zkdetect/client.go:253: undefined: zk.StateSyncConnected
Dockerfile used:
FROM ubuntu:14.04
MAINTAINER Chris Aubuchon <Chris.Aubuchon@gmail.com>
COPY . /go/src/github.com/CiscoCloud/mesos-consul
RUN apt-get update -y
RUN apt-get install -y golang git mercurial
#RUN cd /go/src/github.com/CiscoCloud/mesos-consul \
# && export GOPATH=/go \
# && go get \
# && go build -o /bin/mesos-consul \
# && rm -rf /go \
# && apt-get remove golang git
ENTRYPOINT [ "/bin/mesos-consul" ]
Attempting to compile under ubuntu (to fix the search domain 'feature' or alpine linux) fails with the following error:
Dockerfile used: