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
- Using stretch container instead of alpine because of libgit2sharp https://github.com/libgit2/libgit2sharp/issues/1647 — committed to damianh/SQLStreamStore by damianh 6 years ago
- Test projects target netcoreapp2.2 (#238) - Test projects target netcoreapp2.2 - Using microsoft/dotnet:2.2.100-sdk-stretch container for builds because of libgit2sharp https://github.com/libgit2/li... — committed to SQLStreamStore/SQLStreamStore by damianh 6 years ago
Okay, we’ll need to try using LibGit2Sharp more directly inside the container to see what’s going on, then.