You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/09/21 02:48:38 UTC
[GitHub] [skywalking] 12371601 opened a new issue #3495: Service not shown
in Skywalking UI using SkyAPM.Agent.AspNetCore. please help.
12371601 opened a new issue #3495: Service not shown in Skywalking UI using SkyAPM.Agent.AspNetCore. please help.
URL: https://github.com/apache/skywalking/issues/3495
Please answer these questions before submitting your issue.
- Why do you submit this issue?
Bug
___
### Question
- What do you want to know?
How to use SkyAPM.Agent.AspNetCore on Docker File for docker to run asp.net core app?
Could you help us check our docker file?
___
### Bug
- Which version of SkyWalking, OS and .NET Runtime?
SkyWalking: 6.1
OS: Centos 7
.NET Runtime: .net core 2.2
- Which company or project?
Chy company
- What happen?
Service not shown in Skywalking UI using SkyAPM.Agent.AspNetCore. please help.
[http://letyouknow.net/img/skyissue.jpg](url)
please check issue screenshot: http://letyouknow.net/img/skyissue.jpg
below is docker file:
FROM microsoft/dotnet:2.2-sdk AS build
WORKDIR /src
RUN dotnet tool install -g SkyWalking.DotNet.CLI
ENV PATH="$PATH:/root/.dotnet/tools"
RUN dotnet skywalking install
FROM microsoft/dotnet:2.2-aspnetcore-runtime AS base
WORKDIR /app
EXPOSE 80
COPY . .
FROM base AS final
ENV PATH="$PATH:/usr/local/share/dotnet/store"
ENV ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=SkyAPM.Agent.AspNetCore
ENV SKYWALKING__SERVICENAME=Lyn.Gateway
ENV DOTNET_ADDITIONAL_DEPS=/usr/local/share/dotnet/x64/additionalDeps/skywalking.agent.aspnetcore
COPY --from=build /usr/local/share/dotnet/store /usr/share/dotnet/store
COPY --from=build /usr/local/share/dotnet/store /usr/local/share/dotnet/store
COPY --from=build /usr/local/share/dotnet/x64 /usr/local/share/dotnet/x64
ENTRYPOINT ["dotnet", "Lyn.Gateway.dll"]
___
### Requirement or improvement
Help us check docker file.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services