# pecl command replacement # # Usage (better for permission on result) # # podman build -t pecl -f pecl.dockerfile $PWD # podman run --mount type=bind,src=$PWD,dst=/app -ti pecl xxx # # OR using docker # # docker build -t pecl -f pecl.dockerfile $PWD # docker run --mount type=bind,src=$PWD,dst=/app -ti pecl xxx FROM registry.access.redhat.com/ubi8/php-74:latest USER 0 RUN dnf -y module install php:7.4/devel; \ dnf -y clean all WORKDIR /app ENTRYPOINT ["pecl"] CMD ["help"]