bookinventory/Dockerfile

10 lines
594 B
Docker
Raw Normal View History

2020-12-27 07:53:41 +00:00
FROM php:7.4-fpm-alpine
2020-12-21 08:26:37 +00:00
2020-12-27 08:05:49 +00:00
RUN apk add --no-cache libpng libpng-dev libjpeg-turbo-dev libwebp-dev zlib-dev libxpm-dev libzip-dev oniguruma-dev \
2020-12-27 08:03:18 +00:00
&& docker-php-ext-install zip bcmath pdo_mysql mysqli mbstring opcache soap \
2020-12-27 08:00:17 +00:00
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install gd \
2020-12-27 08:05:49 +00:00
&& apk remove libpng libpng-dev libjpeg-turbo-dev libwebp-dev zlib-dev libxpm-dev libzip-dev oniguruma-dev
2020-12-27 08:00:17 +00:00
2020-12-21 08:30:58 +00:00
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer