github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/dotnet/test-fixtures/image-net6-asp-libman/Dockerfile (about)

     1  FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
     2  ARG RUNTIME=win-x64
     3  
     4  COPY . .
     5  WORKDIR /src
     6  RUN dotnet restore -r $RUNTIME
     7  RUN dotnet publish -c Release --no-restore -o /app
     8  
     9  FROM busybox:latest
    10  WORKDIR /app
    11  COPY --from=build /app .
    12  
    13