HUB
Sign inSign up
ubuntu-wine-dotnet48-sdk logo

zimbres/ubuntu-wine-dotnet48-sdk

By zimbres

•Updated over 4 years ago

Image to build asp.net framework program on top of wine

Image
0

1.3K

zimbres/ubuntu-wine-dotnet48-sdk repository overview

⁠Image to build asp.net framework program on top of wine

⁠Usage:

⁠Dockerfile:
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"]
⁠Build Container:

docker build -t myapp -f .\MyApp\Dockerfile .


Project must using packages.config instead of PackageReference

Tag summary

Content type

Image

Digest

Size

1.7 GB

Last updated

over 4 years ago

docker pull zimbres/ubuntu-wine-dotnet48-sdk