Remove submodules (really this time)
This commit is contained in:
30
phpfpm/Dockerfile
Normal file
30
phpfpm/Dockerfile
Normal file
@@ -0,0 +1,30 @@
|
||||
FROM php:7.4-fpm-alpine
|
||||
|
||||
RUN apk add --update --no-cache --virtual \
|
||||
build-base \
|
||||
autoconf \
|
||||
jpeg-dev \
|
||||
zlib-dev \
|
||||
libpng-dev \
|
||||
freetype-dev \
|
||||
libzip-dev \
|
||||
oniguruma-dev \
|
||||
ssmtp
|
||||
|
||||
ENV LIBRARY_PATH=/lib:/usr/lib
|
||||
|
||||
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
|
||||
&& docker-php-ext-install -j$(nproc) \
|
||||
iconv \
|
||||
gd \
|
||||
zip \
|
||||
sockets \
|
||||
mysqli \
|
||||
pdo \
|
||||
pdo_mysql \
|
||||
mbstring \
|
||||
&& pecl install xdebug \
|
||||
&& docker-php-ext-enable xdebug
|
||||
|
||||
RUN rm -r /tmp/* /var/cache/* \
|
||||
&& docker-php-source delete
|
Reference in New Issue
Block a user