Skip to content

Instantly share code, notes, and snippets.

@codeclash
Created March 5, 2020 11:22
Show Gist options
  • Save codeclash/d4f903ff846a70c6e83cdb30d5f10fd0 to your computer and use it in GitHub Desktop.
Save codeclash/d4f903ff846a70c6e83cdb30d5f10fd0 to your computer and use it in GitHub Desktop.
Add missing gdiplus libraries to aspnetcore docker image
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
RUN apt-get update \
&& apt-get install -y --allow-unauthenticated \
libc6-dev \
libgdiplus \
libx11-dev \
&& rm -rf /var/lib/apt/lists/*
# your other stuff below
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment