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

22 lines
425 B
Docker
Raw Permalink Normal View History

ARG VERSION=8.1
FROM docker.io/php:${VERSION}-apache
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
USER root
RUN apt update; \
apt install -y \
git \
ffmpeg \
libsdl2-2.0-0 \
&& \
install-php-extensions \
gd \
zip \
intl \
yaml \
pdo_mysql \
rdkafka \
&& \
rm -rf /var/lib/apt/lists/*