dockerfile
FROM microsoft/dotnet:2.1-aspnetcore-runtime
# install mono
RUN apt-get update && apt-get install --assume-yes gnupg apt-transport-https
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN "deb https://download.mono-project.com/repo/debian stable-stretch main" | tee /etc/apt/sources.list.d/mono-official-stable.list
RUN apt-get update
RUN apt-get install --assume-yes mono-devel
# install libgdiplus
RUN apt-get update && apt-get install --assume-yes libgdiplus
RUN ln -s /lib/x86_64-linux-gnu/libdl.so.2 /lib/x86_64-linux-gnu/libdl.so
Content type
Image
Digest
Size
169.4 MB
Last updated
almost 8 years ago
docker pull itband/aspnetcore-mono:2.1.5