Unable to install thrift v0.9.2?

i am unable to install thrift v0.9.2 in dockerfile where base image is ubuntu 22?

always show error?

It shows an error? Which one?

Also share your Dockerfile.