From 9cf11c8dfb324e4cecd9a3b73b3ac5152730117e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Jun 2021 14:07:12 +0200 Subject: add pecl command replacement --- pecl.dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pecl.dockerfile (limited to 'pecl.dockerfile') diff --git a/pecl.dockerfile b/pecl.dockerfile new file mode 100644 index 0000000..08cd6a6 --- /dev/null +++ b/pecl.dockerfile @@ -0,0 +1,18 @@ +# pecl command replacement +# +# Usage: +# docker run --mount type=bind,src=$PWD,dst=/tmp -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"] + -- cgit