6.0-sdk-bullseye-integration

    1. FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim
    2. # Configure web servers to bind to port 80 when present
    3. ENV ASPNETCORE_URLS=http://+:80 \
    4. # Enable detection of running in a container
    5. DOTNET_RUNNING_IN_CONTAINER=true
    6. RUN dotnet tool install -g dotnet-dump
    7. RUN dotnet tool install -g dotnet-counters
    8. RUN dotnet tool install -g dotnet-trace
    9. ENV PATH $PATH:/root/.dotnet/tools
    10. RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
    11. RUN sed -i "s@http://deb.debian.org@http://mirrors.aliyun.com@g" /etc/apt/sources.list && \
    12. sed -i "s@http://security.debian.org@http://mirrors.aliyun.com@g" /etc/apt/sources.list && \
    13. apt-get update
    14. RUN apt-get install -y --allow-unauthenticated \
    15. apt-utils libgdiplus nano libc6-dev libx11-dev && \
    16. ln -s /usr/lib/libgdiplus.so /usr/lib/gdiplus.dll
    17. RUN apt-get install -y --allow-unauthenticated procps
    18. RUN rm -rf /var/lib/apt/lists/*
    19. ENV COMPlus_ThreadPool_ForceMinWorkerThreads=50
    20. RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime