Skip to content

Commit

Permalink
update import path for libgit upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
dabutvin committed Jul 20, 2019
1 parent 7763c28 commit a7a7371
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CompressImagesFunction/CompressImagesFunction.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<Target Name="CopyNativeBinaries" AfterTargets="Build">
<ItemGroup>
<NativeBinary Include="$(TargetDir)bin/runtimes/linux-x64/native/libgit2-4aecb64.so" />
<NativeBinary Include="$(TargetDir)bin/runtimes/osx/native/libgit2-4aecb64.dylib" />
<NativeBinary Include="$(TargetDir)bin/runtimes/win-x86/native/git2-4aecb64.dll" />
<NativeBinary Include="$(TargetDir)bin/runtimes/linux-x64/native/libgit2-572e4d8.so" />
<NativeBinary Include="$(TargetDir)bin/runtimes/osx/native/libgit2-572e4d8.dylib" />
<NativeBinary Include="$(TargetDir)bin/runtimes/win-x86/native/git2-572e4d8.dll" />
<NativeBinary Include="$(TargetDir)bin/runtimes/linux-x64/native/Magick.Native-Q16-x64.dll.so" />
<NativeBinary Include="$(TargetDir)bin/runtimes/osx-x64/native/Magick.Native-Q16-x64.dll.dylib" />
<NativeBinary Include="$(TargetDir)bin/runtimes/win-x64/native/Magick.Native-Q16-x64.dll" />
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.CompressImages
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN mkdir -p /home/site/wwwroot
RUN cd /src/CompressImagesFunction && dotnet publish CompressImagesFunction.csproj -c Release --output /home/site/wwwroot

# Native Binaries
RUN cd /src/CompressImagesFunction && cp bin/Release/netstandard2.0/bin/runtimes/linux-x64/native/libgit2-4aecb64.so /home/site/wwwroot/bin/
RUN cd /src/CompressImagesFunction && cp bin/Release/netstandard2.0/bin/runtimes/linux-x64/native/libgit2-572e4d8.so /home/site/wwwroot/bin/
RUN cd /src/CompressImagesFunction && cp bin/Release/netstandard2.0/bin/runtimes/linux-x64/native/Magick.Native-Q16-x64.dll.so /home/site/wwwroot/bin/

FROM mcr.microsoft.com/azure-functions/dotnet:2.0
Expand Down

0 comments on commit a7a7371

Please sign in to comment.