Skip to content

Windows App SDK not installing in windows docker image #3922

@amrutha95

Description

@amrutha95

Describe the bug

The SDK is not installing inside windows docker images. Error is in the screenshot below.

Steps to reproduce the bug

  1. Create a Dockerfile with the following contents
FROM mcr.microsoft.com/windows:20H2 AS build
WORKDIR app

RUN powershell  Invoke-WebRequest -URI https://aka.ms/windowsappsdk/1.4/1.4.231008000/windowsappruntimeinstall-x64.exe -OutFile ./downloadwinappsdk.exe
RUN powershell .\downloadwinappsdk.exe -q

# Start PowerShell when the container starts.
CMD ["powershell", "Start-Sleep", "-s", "3600"]
  1. Build the dockerfile. (Run "docker build -t test in the directory where the Dockerfile is stored)

Expected behavior

SDK should install successfully

Screenshots

image

NuGet package version

Downloaded exe for version 1.4

Packaging type

No response

Windows version

Windows 10 version 20H2 (19042, October 2020 Update)

IDE

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-ExternalTopics external to Windows App SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions