Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .NET Framework on Windows example #439

Merged
merged 1 commit into from
May 13, 2020
Merged

Conversation

StefanScherer
Copy link
Owner

@StefanScherer StefanScherer commented May 13, 2020

.NET Framework on Windows image

This Dockerfile builds a Windows image (the big one, not Windows Server Core) with .NET Framework 4.8.

The Dockerfile is based on https://github.com/microsoft/dotnet-framework-docker/blob/master/4.8/runtime/windowsservercore-ltsc2019/Dockerfile
with a few changes

3c3
< FROM mcr.microsoft.com/windows/servercore:ltsc2019
---
> FROM mcr.microsoft.com/windows:1809
4a5
> USER ContainerAdministrator

The main difference is that the big Windows image has the default user ContainerUser instead of ContainerAdministrator and therefore does not have enough permission to install software.

@StefanScherer StefanScherer merged commit 9d3eb75 into master May 13, 2020
@StefanScherer StefanScherer deleted the dotnet-windows branch May 13, 2020 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant