summaryrefslogtreecommitdiffstats
path: root/ubi8-min-php80-cli.dockerfile
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-07-02 10:14:38 +0200
committerRemi Collet <remi@remirepo.net>2020-07-02 10:14:38 +0200
commit124892c4d663c56c8dc304d3f28df05966898813 (patch)
tree6fd9f7a3902e27692418a67cdcf5fce2b4a154cf /ubi8-min-php80-cli.dockerfile
start to track wip
Diffstat (limited to 'ubi8-min-php80-cli.dockerfile')
-rw-r--r--ubi8-min-php80-cli.dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/ubi8-min-php80-cli.dockerfile b/ubi8-min-php80-cli.dockerfile
new file mode 100644
index 0000000..03b8a07
--- /dev/null
+++ b/ubi8-min-php80-cli.dockerfile
@@ -0,0 +1,13 @@
+FROM registry.access.redhat.com/ubi8-minimal:latest
+
+RUN curl https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -o /tmp/epel.rpm && \
+ curl https://rpms.remirepo.net/enterprise/remi-release-8.rpm -o /tmp/remi.rpm && \
+ rpm -iv /tmp/epel.rpm /tmp/remi.rpm && \
+ microdnf update tzdata && \
+ microdnf --enablerepo=remi install php80-syspaths php80-runtime \
+ php80-php-cli php80-php-common php80-php-sodium php80-php-mbstring php80-php-xml && \
+ microdnf clean all
+
+ENTRYPOINT ["php"]
+CMD ["-a"]
+