bookinventory/Dockerfile

14 lines
581 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:12:55 +00:00
RUN apk add --no-cache libpng libpng-dev libjpeg-turbo-dev libwebp-dev zlib-dev libxpm-dev libzip-dev oniguruma-dev libxml2-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:18:27 +00:00
&& docker-php-ext-configure gd \
2020-12-27 08:23:19 +00:00
&& docker-php-ext-install gd
2020-12-27 08:00:17 +00:00
2020-12-27 08:51:18 +00:00
RUN apk add --no-cache autoconf gcc g++ make \
2020-12-27 08:43:43 +00:00
&& pecl install redis-5.1.1 \
&& docker-php-ext-enable redis \
2020-12-27 08:51:18 +00:00
&& apk del autoconf gcc g++ make
2020-12-27 08:41:22 +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