diff options
author | Remi Collet <remi@remirepo.net> | 2021-06-17 14:07:12 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-06-17 14:07:12 +0200 |
commit | 9cf11c8dfb324e4cecd9a3b73b3ac5152730117e (patch) | |
tree | cf0a4de5af1b6fb1c57ae5738f6513fa247ead90 | |
parent | bf83a0a44521d13943c770453602f451bfbbfe65 (diff) |
add pecl command replacement
-rw-r--r-- | pecl.dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
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"] + |