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

Publishing images on 8.0.405 gets wrong entrypoint #46322

Open
eliassorensen opened this issue Jan 27, 2025 · 0 comments
Open

Publishing images on 8.0.405 gets wrong entrypoint #46322

eliassorensen opened this issue Jan 27, 2025 · 0 comments
Assignees
Labels
Area-NetSDK untriaged Request triage from a team member

Comments

@eliassorensen
Copy link

Describe the bug

When building images on 8.0.405, the entrypoint is invalid. On 8.0.308 (to 8.0.404) it works.

On 8.0.308 - 8.0.404 the image entrypoint specification looks like this:

"Entrypoint": [
    "dotnet",               
    "app.dll"            
],

On 8.0.405 it looks like this:

"Entrypoint": [        
    "/app"            
],

To Reproduce

Run a dotnet publish for containers on both versions.

dotnet publish --os linux --arch x64 -p ContainerImageTag="test" -p ContainerRepository="localhost" -c Release path-to-csproj.csproj

My csproj container specification looks like this:

<PublishProfile>DefaultContainer</PublishProfile>
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:8.0.3-alpine3.19-amd64</ContainerBaseImage>
<ContainerImageTag>test</ContainerImageTag>
<ContainerRepository>localhost</ContainerRepository>
<ContainerRuntimeIdentifier>linux-x64</ContainerRuntimeIdentifier>

Exceptions (if any)

Further technical details

  • N/A
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

2 participants