I am trying to install xdebug or redis package in a docker container from pecl. Installation failed and returns an error: There are no releases available for package "pecl.php.net/xdebug". Example for xdebug https://pecl.php.net/package/xdebug/3.1.0 My docker-compose.yaml version: ‘3’ networks: app-network: services: site: build: context: . dockerfile: nginx.dockerfile container_name: my_nginx ports: – "8082:80" – "443:443" volumes: – ..
I’ll build a Laravel 8 app. The PHP language level is PHP8. How can I integrate Swoole in my Dockerfile? Actually I try it this way: RUN pecl channel-update https://pecl.php.net/channel.xml && pecl install swoole But if I build the Dockerfile, it always runs into this error: —— > [11/19] RUN pecl channel-update https://pecl.php.net/channel.xml && pecl ..
I reworked my question to better target the problem, which I am discussing here. I have been trying for 4 days to: Deploy Oracle Instant Client with Docker. I can give you the Dockerfile but it is 96 lines To use Oracle Instant Client on my Linux Ubuntu latest. In the end I arrive at ..
So I have 2 Dockerfile to build my container. The first file is to build my "main" (production) container, the second extends the first (through From instruction) and adds some dev and testing dependencies. Currently, my only testing dependency is Xdebug. I install it through PECL with : RUN pecl install xdebug && docker-php-ext-enable xdebug ..
When installing opencensus-alpha from PECL package manager in docker as part of dockerfile, an error is thrown /bin/sh: pecl: not found Dockerfile FROM nginx:1.17.4-alpine RUN apk –no-cache add php7 php7-fpm php7-mysqli php7-pdo_mysql php7-json php7-openssl php7-curl php7-zlib php7-xml php7-simplexml php7-phar php7-intl php7-dom php7-xmlreader php7-xmlwriter php7-ctype php7-session php7-mbstring php7-gd php-zip supervisor libxml2-dev php7-tokenizer RUN pecl install opencensus-alpha ..