summaryrefslogtreecommitdiffstats
path: root/pecl.dockerfile
blob: f98b6fc18f11af5d766881b16fcb685b9f47ce16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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"]