summaryrefslogtreecommitdiffstats
path: root/pecl.dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'pecl.dockerfile')
-rw-r--r--pecl.dockerfile18
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"]
+