Added other containers
Some checks reported warnings
Build and push image / Build (push) Has been cancelled

This commit is contained in:
Jack
2023-08-26 00:15:47 +01:00
parent 12e2b4b186
commit dd6b348e65
92 changed files with 250 additions and 5 deletions

18
php-cli/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM php:8.1-cli
# installing cron package
RUN apt-get update && apt-get -y install cron libbz2-dev curl libcurl4-openssl-dev libxml2-dev libenchant-2-dev libssl-dev libpng-dev libgmp-dev libzip-dev sudo rsync zip unzip libldap2-dev
RUN pecl install redis && docker-php-ext-enable redis
RUN docker-php-ext-install pdo_mysql opcache gd zip ldap
COPY ./crontab /etc/cron.d/crontab
RUN chmod 0644 /etc/cron.d/crontab
RUN /usr/bin/crontab /etc/cron.d/crontab
RUN adduser -D -H -u 1000 -s /bin/bash www-data -G www-data
RUN usermod -u 1000 www-data
RUN groupmod -g 1000 www-data