ContainerAppCommandInstruction when set to Entrypoint does not use the arguments defined in the ContainerAppCommandArgs tag. #548
Labels
documentation
Improvements or additions to documentation
When it builds a .NET8 Linux based image the following issue is occurring. To build the image the following command is used: dotnet publish --os linux --arch x64 -c Release /t:PublishContainer
In the documentation there is no example of how to use this. I have tried the below to run the echo "containersetupscript.sh" command. But instead it produces echo "dotnet dotnetApp.dll containersetupscript.sh" command.
<ItemGroup Label="ContainerAppCommand Assignment"> <ContainerAppCommand Include="echo" /> <ContainerAppCommandArgs Include="containersetupscript.sh" /> <ContainerAppCommandInstruction Include="Entrypoint" /> </ItemGroup>
It doesn't work since it displays "dotnet dotnetApp.dll containersetupscript.sh" instead of just "containersetupscript.sh". How to get rid of "dotnet dotnetApp.dll" and just display "containersetupscript.sh"?
Expected behaviour of the echo command is to just display "containersetupscript.sh". But it inserts "dotnet dontetApp.dll" also as arguments to the command i want.
The text was updated successfully, but these errors were encountered: