Install ext-ftp extension using the official docker image

I am trying to install the php ftp extension without any luck. I am using the official docker PHP image. I am re-building the image with docker compose build --no-cache

I’ve also tried RUN docker-php-ext-enable ftp

FROM php:8.3-fpm

WORKDIR /var/www/html

RUN docker-php-ext-install ftp

php -m

[PHP Modules]
Core
ctype
curl
date
dom
fileinfo
filter
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
random
readline
Reflection
session
SimpleXML
sodium
SPL
sqlite3
standard
tokenizer
xdebug
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]
Xdebug