I have used following commands in the Dockerfile but nothing is working, I am using powershell console for container.
please suggest
RUN powershell -Command "New-Item -ItemType Directory -Force -Path 'C:\Program Files\Java'"
RUN powershell -Command "New-Item -ItemType Directory -Force -LiteralPath 'C:\Program Files\Java'"
RUN powershell -Command "if (!(Test-Path 'C:\Program Files\Java')) { New-Item -ItemType Directory -Force -Path 'C:\Program Files\Java' }"
RUN powershell -Command "& { New-Item -ItemType Directory -Force -Path 'C:\Program Files\Java' }"
RUN powershell -Command "New-Item -ItemType Directory -Force -Path \"C:\Program Files\Java\""