skip to Main Content

[Environment]::SetEnvironmentVariable Docker on Windows

In my dockerfile I have the line RUN [Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:oracleinstantclient_19_10", "Machine") I get this returned, even though when I run the above command in PowerShell everything "just works" At line:1 char:114 + ... = 'SilentlyContinue'; [Environment]::SetEnvironmentVariable(Path, $e ...…

VIEW QUESTION
Back To Top
Search