Skip to content

Commit

Permalink
Update Dockerfile to fix git describe command for setting appVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
danidrasovean committed Jun 17, 2024
1 parent c1034c9 commit 4ff1fa6
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 4ff1fa6

Please sign in to comment.