dockerfile: fix useragent version

Useragent version wasn't set when building from Dockerfile. Fixed.
This commit is contained in:
Anna Shaleva 2020-07-08 08:40:27 +03:00
parent b823a516f1
commit a8d9e27513

View file

@ -18,7 +18,7 @@ RUN set -x \
&& export GOGC=off \ && export GOGC=off \
&& export GO111MODULE=on \ && export GO111MODULE=on \
&& export CGO_ENABLED=0 \ && export CGO_ENABLED=0 \
&& export LDFLAGS="-X ${REPO}/config.Version=${VERSION}" \ && export LDFLAGS="-X ${REPO}/pkg/config.Version=${VERSION}" \
&& go build -v -mod=vendor -ldflags "${LDFLAGS}" -o /go/bin/neo-go ./cli && go build -v -mod=vendor -ldflags "${LDFLAGS}" -o /go/bin/neo-go ./cli
# Executable image # Executable image