Skip to content

Commit 08e0e64

Browse files
committed
fix(weavercc): build with musl-gcc
Signed-off-by: Sandeep Nishad <sandeep.nishad1@ibm.com>
1 parent db7c26d commit 08e0e64

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/network/fabric-interop-cc/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ FROM golang:1.20 AS build
33
COPY . /fabric-interop-cc
44
WORKDIR /fabric-interop-cc
55

6-
RUN cd /fabric-interop-cc/contracts/interop && go build -o interop
6+
RUN apt-get update && apt-get install musl-tools -y
7+
8+
RUN cd /fabric-interop-cc/contracts/interop && CC=musl-gcc go build -o interop
79

810
# Production ready image
911
# Pass the binary to the prod image
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.14
1+
1.5.15

0 commit comments

Comments
 (0)