mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
21 lines
407 B
Docker
21 lines
407 B
Docker
|
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 \
|
||
|
&& \
|
||
|
rm -rf /var/lib/apt/lists/*
|