Skip to content

Commit

Permalink
Merge pull request #117 from multiversx/fix-fetching-flags
Browse files Browse the repository at this point in the history
Update Dockerfile to fix git describe command for setting appVersion
  • Loading branch information
danidrasovean authored Jun 18, 2024
2 parents c1034c9 + 4ff1fa6 commit 66f6e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR /go/mx-chain-go

#MultiversX node
WORKDIR /go/mx-chain-go/cmd/node
RUN go build -v -ldflags="-X main.appVersion=$(git describe --git-dir /config/.git --tags --long --dirty)"
RUN go build -v -ldflags="-X main.appVersion=$(git --git-dir /config/.git describe --tags --long --dirty)"

RUN mkdir -p /lib_amd64 /lib_arm64

Expand Down

0 comments on commit 66f6e9e

Please sign in to comment.