FROM php:fpm

# update the image
RUN apt update && apt upgrade -y

# install pdo mysql extension
RUN docker-php-ext-install pdo pdo_mysql

# install xdebug for php
RUN pecl install xdebug && docker-php-ext-enable xdebug

# create log folder
RUN mkdir /logs