summaryrefslogtreecommitdiffstats
path: root/pecl.dockerfile
blob: ff6bdf467946acf3826a970b527b06f09cdc0bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# pecl command replacement
#
# Usage:
#   docker build -t pecl -f pecl.dockerfile  .
#   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"]