Skip to content

Commit

Permalink
fix(weavercc): build with musl-gcc
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
  • Loading branch information
sandeepnRES committed May 24, 2023
1 parent db7c26d commit 08e0e64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/network/fabric-interop-cc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM golang:1.20 AS build
COPY . /fabric-interop-cc
WORKDIR /fabric-interop-cc

RUN cd /fabric-interop-cc/contracts/interop && go build -o interop
RUN apt-get update && apt-get install musl-tools -y

RUN cd /fabric-interop-cc/contracts/interop && CC=musl-gcc go build -o interop

# Production ready image
# Pass the binary to the prod image
Expand Down
2 changes: 1 addition & 1 deletion core/network/fabric-interop-cc/contracts/interop/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.14
1.5.15

0 comments on commit 08e0e64

Please sign in to comment.