forked from TrueCloudLab/neoneo-go
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 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
|
||||||
|
|
Loading…
Reference in a new issue