libgit2sharp: Segmentation Fault in Alpine 3.8

Reproduction steps

Dockerfile:

FROM microsoft/dotnet:2.2.100-sdk-alpine3.8 AS build

COPY .git ./

RUN apk add libcurl &&  \
  dotnet tool install -g minver-cli --version 1.0.0-beta.1 && \
  /root/.dotnet/tools/minver > .version

(minver takes a dependency on libgit2sharp)

Expected behavior

Prints the expected version

Actual behavior

Segmentation Fault

Version of LibGit2Sharp (release number or SHA1)

0.25.3

Operating system(s) tested; .NET runtime tested

microsoft/dotnet:2.2.100-sdk-alpine3.8 docker container

I tried this with the microsoft/dotnet:2.2.100-sdk-stretch container and it worked as expected.

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 1
  • Comments: 22 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Okay, we’ll need to try using LibGit2Sharp more directly inside the container to see what’s going on, then.