Merge pull request #1157 from nspcc-dev/neo3/env_image/fix

dockerfile: fix useragent version
This commit is contained in:
Roman Khimov 2020-07-08 09:40:50 +03:00 committed by GitHub
commit cf1e5243b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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