Created
November 19, 2018 10:53
-
-
Save segor/dd98f3de05b23529af561ec4ed1305f7 to your computer and use it in GitHub Desktop.
.net + core dump + lldb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/dotnet:2.1.6-aspnetcore-runtime-stretch-slim | |
# Install debugging tools | |
## Install GDB (to create core dumps) and process tools | |
RUN apt-get update && apt-get -y install \ | |
gdb \ | |
procps | |
## Install LLDB debugger | |
RUN apt-get -y install lldb-4.0 | |
ARG source | |
ARG port | |
WORKDIR /app | |
EXPOSE ${port:-80} | |
COPY ${source:-/Docker/publish} . | |
ENTRYPOINT ["dotnet", "App.dll"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment