serversideup / docker-php

🐳 Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!
https://serversideup.net/open-source/docker-php/
GNU General Public License v3.0
1.75k stars 121 forks source link

Missing INTL module on php:beta-8.3-fpm-nginx #270

Closed AmirHosseinKarimi closed 10 months ago

AmirHosseinKarimi commented 10 months ago

Affected Docker Images

serversideup/php:beta-8.3-fpm-nginx

Docker Labels of the affected images

{
  "com.docker.compose.config-hash": "738b698823b6b02a6163e2c3ffc72ddcd688ac29aca1916393f05e389d7f1a6c",
  "com.docker.compose.container-number": "1",
  "com.docker.compose.depends_on": "traefik:service_started:false,mariadb:service_started:false",
  "com.docker.compose.image": "sha256:49846934f6264166b7aed551f45462eeb113ada56e549bb43275cf1910712742",
  "com.docker.compose.oneoff": "False",
  "com.docker.compose.project": "test-filament",
  "com.docker.compose.project.config_files": "/home/amir/projects/personal/test-filament/docker-compose.yml,/home/amir/projects/personal/test-filament/docker-compose.dev.yml",
  "com.docker.compose.project.working_dir": "/home/amir/projects/personal/test-filament",
  "com.docker.compose.replace": "d1bc2f8b827b424b4e324918a90c021d0863beda1e4928a67051c2de2fb5ccdb",
  "com.docker.compose.service": "php",
  "com.docker.compose.version": "2.23.3",
  "maintainer": "Jay Rogers (@jaydrogers)",
  "org.opencontainers.image.ref.name": "ubuntu",
  "org.opencontainers.image.version": "22.04",
  "traefik.enable": "true",
  "traefik.http.routers.laravel.entrypoints": "websecure",
  "traefik.http.routers.laravel.rule": "HostRegexp(`laravel.dev.test`)",
  "traefik.http.routers.laravel.tls": "true",
  "traefik.http.services.laravel.loadbalancer.server.port": "80",
  "traefik.http.services.laravel.loadbalancer.server.scheme": "http"
}

Current Behavior

Trying to install Filament but it needs the intl module which is not installed on the container.

Expected Behavior

Install the intl module on the container.

Steps To Reproduce

  1. Install Spin
  2. Create a new Laravel project.
  3. Build and run the container.
  4. Install Filament via composer.
  5. You can see the error that filament-support needs the intl extension which is not installed.

Host Operating System

6.6.8-2-MANJARO

Docker Version

Client:
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.21.3
 Git commit:        afdd53b4e3
 Built:             Sun Oct 29 15:42:02 2023
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.21.3
  Git commit:       311b9ff0aa
  Built:            Sun Oct 29 15:42:02 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.7.11
  GitCommit:        64b8a811b07ba6288238eefc14d898ee0b5b99ba.m
 runc:
  Version:          1.1.10
  GitCommit:        
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Anything else?

No response

jaydrogers commented 10 months ago

Intl adds a lot of weight to the Docker Images, so we left it out.

We documented it for you here though: https://release-v3-0.docker-php.pages.dev/docs/guide/installing-additional-php-extensions#common-php-extensions-that-you-might-need