mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
dockerfile: fix useragent version
Useragent version wasn't set when building from Dockerfile. Fixed.
This commit is contained in:
parent
b823a516f1
commit
a8d9e27513
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ RUN set -x \
|
|||
&& export GOGC=off \
|
||||
&& export GO111MODULE=on \
|
||||
&& 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
|
||||
|
||||
# Executable image
|
||||
|
|
Loading…
Reference in a new issue