File Dockerfile of Package roundcubemail-selfcontained

FROM quay.io/almalinux/almalinux:8
RUN rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
RUN dnf -y install php php-dom php-gd php-xml php-ldap php-mbstring php-cli php-json php-zip unzip bash git tar gzip wget curl npm which
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"; php composer-setup.php --install-dir=/usr/local/bin --filename=composer
ADD buildroundcubemailtarball.sh /buildroundcubemailtarball.sh
RUN id default || (groupadd -g 1000 default && useradd -d /home/default/ -u 1000 -g 1000 default)
USER 1000
WORKDIR /home/default/