You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ive been struggling with this for a while now, I cant understand what Iam doing wrong.
Im using Dockerfile.7.3.slim.fpm with this structure:
/php-slim/Dockerfile
/php-slim/extensions
/php-slim/utils
And ive added ARG PHP_EXTENSION at the top of the Dockerfile:
ARG PHP_EXTENSIONS="gettext apcu opcache pdo pdo_mysql zip soap intl"
ARG INSTALL_CRON=1
FROM php:7.3-fpm-stretch
None of the extensions gets compiled/installed when i build. If I add this manually below line 16:
RUN cd /usr/local/lib/thecodingmachine-php/extensions/current/gettext && ./install.sh
RUN cd /usr/local/lib/thecodingmachine-php/extensions/current/intl && ./install.sh
Those (two) extensions gets installed & compiled as intended. What am I doing wrong? Ive cleaned my cache, downloaded the image from scratch and gets same result each time. Using Dockerfile.7.3.fpm (fat) as Dockerfile works with the extensions.
The text was updated successfully, but these errors were encountered:
Hi,
Ive been struggling with this for a while now, I cant understand what Iam doing wrong.
Im using Dockerfile.7.3.slim.fpm with this structure:
/php-slim/Dockerfile
/php-slim/extensions
/php-slim/utils
And ive added ARG PHP_EXTENSION at the top of the Dockerfile:
ARG PHP_EXTENSIONS="gettext apcu opcache pdo pdo_mysql zip soap intl"
ARG INSTALL_CRON=1
FROM php:7.3-fpm-stretch
None of the extensions gets compiled/installed when i build. If I add this manually below line 16:
RUN cd /usr/local/lib/thecodingmachine-php/extensions/current/gettext && ./install.sh
RUN cd /usr/local/lib/thecodingmachine-php/extensions/current/intl && ./install.sh
Those (two) extensions gets installed & compiled as intended. What am I doing wrong? Ive cleaned my cache, downloaded the image from scratch and gets same result each time. Using Dockerfile.7.3.fpm (fat) as Dockerfile works with the extensions.
The text was updated successfully, but these errors were encountered: