Skip to content

ubi9/dotnet-100 images use / as WORKDIR? #532

@AThomsen

Description

@AThomsen

Consider this

➜  ~ podman run registry.access.redhat.com/ubi8/dotnet-90-runtime pwd
/opt/app-root/app

➜  ~ podman run registry.access.redhat.com/ubi9/nodejs-24-minimal pwd
/opt/app-root/src

➜  ~ podman run registry.access.redhat.com/ubi8/dotnet-90-runtime pwd
/opt/app-root/app

➜  ~ podman run registry.access.redhat.com/ubi9/dotnet-100-runtime pwd
/

➜  ~ podman run registry.access.redhat.com/ubi9/dotnet-100-aspnet pwd
/

Upgrading from ubi8/dotnet-90 to ubi9/dotnet-100 now causes all program files to be placed in / when build with COPY . . in a Dockerfile !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions