Image to build asp.net framework program on top of wine
1.3K
FROM zimbres/ubuntu-wine-dotnet48-sdk AS build
WORKDIR /app
COPY . .
RUN wine nuget restore
RUN wine /net472/MSBuild/Current/Bin/amd64/MSBuild.exe -p:OutputPath=/app/out -p:platform=x64 -p:configuration=release
FROM zimbres/ubuntu-wine-dotnet48 AS runtime
WORKDIR /app
COPY --from=build /app/out ./
ENTRYPOINT ["wine", "MyApp.exe"]
docker build -t myapp -f .\MyApp\Dockerfile .
Project must using packages.config instead of PackageReference
Content type
Image
Digest
Size
1.7 GB
Last updated
over 4 years ago
docker pull zimbres/ubuntu-wine-dotnet48-sdk