Skip to content

Commit

Permalink
fix for TypeInitialization exception
Browse files Browse the repository at this point in the history
Error during fail reporting: System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'libdl' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment

problem as described here https://github.com/dotnet/corefx/issues/25102
  • Loading branch information
Alex2357 committed Feb 26, 2019
1 parent f356152 commit f849bed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM microsoft/dotnet:2.2-sdk AS build-env

RUN apt-get update && apt-get install -y libc6-dev libgdiplus

COPY / ./tests

RUN sed -i 's/let browserUrl = /let browserUrl = "http:\/\/testbrowser:4444\/wd\/hub\/" \/\/ /g' tests/Program.fs
Expand Down

0 comments on commit f849bed

Please sign in to comment.