Skip to content

Commit bfb0a3e

Browse files
committed
fix protobuf compiler segfault(?)
1 parent bfb1adb commit bfb0a3e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

HomeSpeaker.Server2/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ RUN --mount=type=cache,target=/root/.nuget/packages \
2626
COPY . .
2727
WORKDIR "/src/HomeSpeaker.Server2"
2828

29+
# Force Grpc.Tools to use x64 protoc compiler
30+
ENV GrpcToolsPlatform=x64
31+
2932
RUN --mount=type=cache,target=/root/.nuget/packages \
3033
dotnet publish "./HomeSpeaker.Server2.csproj" \
3134
-c $BUILD_CONFIGURATION \

0 commit comments

Comments
 (0)