2
0
Fork 0
Dieses Repository wurde am 2022-01-07 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
php-docker/Dockerfile
Nick Slowinski 1f93dd537f
Alle Prüfungen waren erfolgreich
continuous-integration/drone/push Build is passing
Upgrade to PHP 8.1
2022-01-07 21:18:30 +01:00

25 Zeilen
1,2 KiB
Docker

# php-docker - A way to run PHP-FPM with additional modules inside docker.
# Copyright (C) 2021 php-docker contributers (please see "CONTRIBUTERS"
# file in the root directory of this repository)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
FROM php:8.1-fpm-alpine3.15
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
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"]
CMD ["php-fpm"]