openvk/install/automated/docker/base-php-cli.Dockerfile

16 lines
338 B
Docker
Raw Normal View History

2023-12-10 21:21:50 +03:00
ARG VERSION=8.2
FROM docker.io/php:$VERSION-cli
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN apt update && \
apt install -y \
git
RUN install-php-extensions \
gd \
zip \
yaml \
intl \
pdo_mysql