Skip to content

podman build produces "SHELL is not supported for OCI image format" #8477

@svdHero

Description

@svdHero

Hi there,

I have Dockerfiles containing the command

SHELL ["/bin/bash", "-c"] 

for setting the default shell to bash.

When I try to build images from said Dockerfiles with podman version 2.1.1, I get the error message:
"SHELL is not supported for OCI image format".

What should I do? Do I have to modify the Dockerfiles or is there another way to do this? I thought podman was a drop-in replacement for docker. Am I missing something or doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions