Skip to content
This repository has been archived by the owner on Apr 26, 2018. It is now read-only.

In Docker: Unable to load DLL 'gdiplus.dll': The specified module could not be found. #6

Closed
ZhiqiangTao opened this issue Mar 16, 2017 · 2 comments

Comments

@ZhiqiangTao
Copy link

I have made the gdiplus.dll by following your steps.
and build the gdiplus.dll into an docker images. and run a container with this image.
but it still shows "Unable to load DLL 'gdiplus.dll': The specified module could not be found."

@ZhiqiangTao
Copy link
Author

solution:
FROM microsoft/dotnet:1.0.3-runtime
ENTRYPOINT ["dotnet", "MicBookCustomer.dll"]
WORKDIR /xbookstore/customer/picture
COPY . /xbookstore/customer/picture
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
RUN apt-get update
RUN apt-get install -y libgdiplus
RUN ln -s /usr/lib/libgdiplus.so /usr/lib/gdiplus.dll

ENV ASPNETCORE_ENVIRONMENT Development

@303248153
Copy link
Member

Thanks, that's a big help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants