You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then we tried to extract and ran go install. Then It gave us a binary of consul-alertsv0.6.0 but it still showing 0.5.0 after running consul-alertsv0.6.0 --version.
Can you please advise if we are missing some step or how do we get v0.6.0 correctly. Thanks
Go version : 1.10.3
Consul Verson: 1.3.1
OS: Ubuntu 14.04
The text was updated successfully, but these errors were encountered:
less is more to appreciate
copying consul-alerts built on golang onto consul
one third the original size
REPOSITORY TAG IMAGE ID CREATED SIZE
consul 1.8 6adcb25542ed 27 hours ago 122MB
golang 1.15.0 75605a415539 2 days ago 839MB
acaleph/consul-alerts latest d6b7ee42ef61 19 months ago 427MB
FROM golang:1.15 AS golang
ENV GOPATH /go
WORKDIR /go
RUN go get -v github.com/AcalephStorage/consul-alerts
RUN sed 's/^const version = "\(.\)*"/const version = "latest"/' /go/src/github.com/AcalephStorage/consul-alerts/consul-alerts.go
RUN cd /go/src/github.com/AcalephStorage/consul-alerts
RUN go install github.com/AcalephStorage/consul-alerts
FROM consul:1.8
RUN apk --no-cache add ca-certificates
WORKDIR /bin/
COPY --from=golang /go/bin/consul-alerts .
EXPOSE 9000
CMD []
ENTRYPOINT [ "/bin/consul-alerts", "--alert-addr=0.0.0.0:9000" ]
Hi,
We are trying to upgrade or download consul alerts 0.6.0 to utilize the new http feature but unable to do so.
First is we try to run a docker build and get the latest one thru below command but still showing 0.5.0
RUN go get -v github.com/AcalephStorage/consul-alerts
Step 13/24 : RUN consul-alerts --version
---> Running in 72be6c3e6b0b
Consul Alerts 0.5.0
Oad from the new release (source code) manually under https://github.com/AcalephStorage/consul-alerts/archive/v0.6.0.tar.gz
Then we tried to extract and ran go install. Then It gave us a binary of consul-alertsv0.6.0 but it still showing 0.5.0 after running consul-alertsv0.6.0 --version.
Can you please advise if we are missing some step or how do we get v0.6.0 correctly. Thanks
Go version : 1.10.3
Consul Verson: 1.3.1
OS: Ubuntu 14.04
The text was updated successfully, but these errors were encountered: