podman on centos 8 at least doesn't accept the Dockerfile being fed to
it via stdin. Change that branch of the script to use the same method
that the ubuntu side does.
This gets the script working on senta03 for me.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
if [ "${FLAVOR}" = "crimson" ]; then
ceph_debuginfo+=" ceph-crimson-osd-debuginfo ceph-crimson-osd"
fi
- time run docker build $CACHE --tag "$tag" - <<EOF
+ cat > Dockerfile <<EOF
FROM ${env}
WORKDIR /root
yum upgrade -y && \
yum install -y ceph ${ceph_debuginfo} ceph-fuse ${python_bindings}
EOF
+ time run docker build $CACHE --tag "$tag" .
fi
popd
rm -rf -- "$T"