-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
47 lines (36 loc) · 1.23 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM php:8.3-cli-alpine
# bash
RUN apk add --update --no-cache bash
# gmp
RUN apk add --update --no-cache gmp-dev \
&& docker-php-ext-install gmp
# mysqli, pdo, pdo_mysql, pdo_pgsql
RUN apk add --update --no-cache postgresql-dev \
&& docker-php-ext-install mysqli pdo pdo_mysql
# zip
RUN apk add --update --no-cache libzip-dev \
&& docker-php-ext-configure zip \
&& docker-php-ext-install zip
# exif
RUN apk add --update --no-cache exiftool \
&& docker-php-ext-install exif
# imagick https://github.com/Imagick/imagick/issues/640
# RUN apk add --update --no-cache build-base autoconf imagemagick imagemagick-dev \
# && pecl install imagick \
# && docker-php-ext-enable imagick
# intl
RUN apk add --update --no-cache icu-dev \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl
# gd
RUN apk add --update --no-cache libpng-dev \
&& docker-php-ext-configure gd \
&& docker-php-ext-install gd
# bcmath
RUN apk add --update --no-cache php-bcmath \
&& docker-php-ext-configure bcmath \
&& docker-php-ext-install bcmath
# git client
RUN apk add --update --no-cache git
# composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --2 --filename=composer