Try to add the line below to your Dockerfile, it will install perl:
Dockerfile
perl
RUN micromamba install -y -n base -c conda-forge perl