Skip to content

Commit

Permalink
add postgres and intl in the image
Browse files Browse the repository at this point in the history
  • Loading branch information
krkabol committed Jan 24, 2025
1 parent 80aa292 commit df12d35
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions Dockerfile
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 && \
Expand Down
2 changes: 1 addition & 1 deletion README.md
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) .

0 comments on commit df12d35

Please sign in to comment.