glutton structured json logging

This commit is contained in:
t3chn0m4g3
2018-08-30 16:19:11 +00:00
parent 64fed3d15b
commit 5fcb7ed4ce
3 changed files with 108 additions and 3 deletions

View File

@ -16,12 +16,15 @@ RUN apk -U --no-cache add \
# Setup go, glutton
export GOPATH=/opt/go/ && \
mkdir -p /opt/go/ && \
go get -d github.com/mushorg/glutton && \
go get -u github.com/golang/dep/cmd/dep && \
cd /opt/go/src/github.com/satori/ && \
rm -rf go.uuid && \
git clone https://github.com/satori/go.uuid && \
cd go.uuid && \
git checkout v1.2.0 && \
mv /root/dist/system.go /opt/go/src/github.com/mushorg/glutton/ && \
mv /root/dist/tcp.go /opt/go/src/github.com/mushorg/glutton/ && \
cd /opt/go/src/github.com/mushorg/glutton/ && \
/opt/go/bin/dep ensure && \
make build && \
cd / && \
mkdir -p /opt/glutton && \