#1 - project skeleton
This commit is contained in:
20
docker/dev/php/Dockerfile
Normal file
20
docker/dev/php/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM ghcr.io/blumilksoftware/php:8.1
|
||||
|
||||
ARG XDEBUG_VERSION=3.1.2
|
||||
ARG INSTALL_XDEBUG=false
|
||||
|
||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||
apk --no-cache add $PHPIZE_DEPS \
|
||||
&& pecl install xdebug-${XDEBUG_VERSION} \
|
||||
&& docker-php-ext-enable xdebug \
|
||||
;fi
|
||||
|
||||
RUN apk --no-cache add \
|
||||
zip \
|
||||
libzip-dev \
|
||||
libpng-dev \
|
||||
&& docker-php-ext-install \
|
||||
zip \
|
||||
gd \
|
||||
&& docker-php-ext-configure \
|
||||
zip
|
Reference in New Issue
Block a user