8 Zeilen
Kein EOL
490 B
Docker
8 Zeilen
Kein EOL
490 B
Docker
FROM php:7.4-fpm
|
|
ADD https://raw.githubusercontent.com/mlocati/docker-php-extension-installer/master/install-php-extensions /usr/local/bin/
|
|
RUN apt-get update && apt-get install -y procps && rm -rf /var/lib/apt/lists/*
|
|
RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && \
|
|
install-php-extensions zip ssh2 pdo_mysql mysqli
|
|
COPY docker-php-entrypoint-custom /usr/local/bin/
|
|
RUN chmod 775 /usr/local/bin/docker-php-entrypoint-custom
|
|
ENTRYPOINT ["docker-php-entrypoint-custom"] |