mirror of
https://github.com/misterunknown/ifm.git
synced 2025-01-17 12:48:19 +01:00
Install PHP extensions correctly
Signed-off-by: Marco Dickert <marco@misterunknown.de>
This commit is contained in:
parent
f2d1f8c2ee
commit
6d0d6c9e53
19
Dockerfile
19
Dockerfile
@ -7,17 +7,20 @@ ENV IFM_ROOT_DIR="/var/www" \
|
|||||||
|
|
||||||
# add missing extensions and dependencies
|
# add missing extensions and dependencies
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
libbz2 \
|
bzip2-dev \
|
||||||
libzip \
|
libcap-dev \
|
||||||
libcap \
|
libcap-utils \
|
||||||
|
libzip-dev \
|
||||||
openldap-dev \
|
openldap-dev \
|
||||||
php8-bz2 \
|
|
||||||
php8-fileinfo \
|
|
||||||
php8-ldap \
|
|
||||||
php8-posix \
|
|
||||||
php8-zip \
|
|
||||||
sudo
|
sudo
|
||||||
|
|
||||||
|
RUN docker-php-ext-install \
|
||||||
|
bz2 \
|
||||||
|
fileinfo \
|
||||||
|
ldap \
|
||||||
|
posix \
|
||||||
|
zip
|
||||||
|
|
||||||
# allow php binary to bind ports <1000, even if $USER != root
|
# allow php binary to bind ports <1000, even if $USER != root
|
||||||
RUN /usr/sbin/setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/php
|
RUN /usr/sbin/setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/php
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user