-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,23 @@ | ||
FROM php:8.4-fpm@sha256:5148d67c6a67e00736c7a1be2e3b5287e370fd64d24f7777f5e39bf4c45b9175 | ||
|
||
MAINTAINER Petr Novotný <[email protected]> | ||
LABEL org.opencontainers.image.source=https://github.com/biodiversity-cz/php-fpm-noroot-socket | ||
LABEL org.opencontainers.image.description="no root UNIX socket PHP/FPM" | ||
|
||
RUN apt-get update && apt-get dist-upgrade -y && \ | ||
apt-get install -y --no-install-recommends \ | ||
libpq-dev \ | ||
apt-get autoclean -y && \ | ||
apt-get remove -y wget && \ | ||
apt-get autoremove -y && \ | ||
rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/* | ||
|
||
RUN docker-php-ext-install pdo && \ | ||
docker-php-ext-install intl && \ | ||
docker-php-ext-install pdo_pgsql && \ | ||
docker-php-ext-install pgsql && \ | ||
docker-php-ext-install opcache | ||
|
||
RUN useradd -u 1000 -ms /bin/bash www && \ | ||
usermod -aG www-data www && \ | ||
mkdir /sock && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# php-fpm-noroot-socket | ||
PHP-FPM unprivileged image with shared socket. More info at the [Nginx container](https://github.com/krkabol/nginx-noroot-fpmSocket) . | ||
PHP-FPM unprivileged image with shared socket. More info at the [Nginx container](https://github.com/biodiversity-cz/nginx-noroot-fpmSocket) . |