I have added the '-y'. It also 'segmentation fault'.
$ podman build -f centos.dockerfile
STEP 1/4: FROM docker.io/library/centos:centos7.9.2009
STEP 2/4: SHELL ["/bin/bash", "-c"]
--> Using cache 5b52fbd2b039f23a0f89117f418b270b73b6b62672de58adefdbe8ce291544b2
--> 5b52fbd2b03
STEP 3/4: RUN yum -y update
container exited on segmentation fault
Error: error building at STEP "RUN yum -y update": error while running runtime:
exit status 1