Akaunting/php/Dockerfile

33 lines
623 B
Docker
Raw Normal View History

2020-04-15 03:52:16 +00:00
FROM php:7.4-fpm
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
2020-04-15 03:52:16 +00:00
libzip-dev \
imagemagick \
libmcrypt-dev \
libpng-dev \
libpq-dev \
libxrender1 \
locales \
openssh-client \
patch \
unzip \
zlib1g-dev \
2020-04-15 03:52:16 +00:00
zip \
--no-install-recommends && \
apt-get clean && rm -rf /var/lib/apt/lists/*
2020-04-15 03:52:16 +00:00
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
RUN cp /usr/share/i18n/SUPPORTED /etc/locale.gen
RUN locale-gen
RUN docker-php-ext-install \
gd \
2020-04-15 03:52:16 +00:00
bcmath \
pcntl \
2020-04-15 03:52:16 +00:00
pdo \
pdo_pgsql \
pdo_mysql \
2020-04-15 03:52:16 +00:00
zip