-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.base
More file actions
18 lines (14 loc) · 612 Bytes
/
Copy pathDockerfile.base
File metadata and controls
18 lines (14 loc) · 612 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM php:8.3-fpm-alpine
WORKDIR /var/www/html
# Install PHP dependencies (OS Level)
RUN apk add --no-cache \
bash git unzip curl libpng-dev libjpeg-turbo-dev \
libwebp-dev libxpm-dev freetype-dev oniguruma-dev \
zip libxml2-dev icu-dev mysql-client supervisor \
libzip-dev
# Configure & install php extension
RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-xpm \
&& docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd intl opcache zip \
&& rm -rf /var/cache/apk/*
# Install Composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer