mirror of
https://github.com/misterunknown/ifm.git
synced 2025-01-17 04:38:25 +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
|
||||
RUN apk add --no-cache \
|
||||
libbz2 \
|
||||
libzip \
|
||||
libcap \
|
||||
bzip2-dev \
|
||||
libcap-dev \
|
||||
libcap-utils \
|
||||
libzip-dev \
|
||||
openldap-dev \
|
||||
php8-bz2 \
|
||||
php8-fileinfo \
|
||||
php8-ldap \
|
||||
php8-posix \
|
||||
php8-zip \
|
||||
sudo
|
||||
|
||||
RUN docker-php-ext-install \
|
||||
bz2 \
|
||||
fileinfo \
|
||||
ldap \
|
||||
posix \
|
||||
zip
|
||||
|
||||
# allow php binary to bind ports <1000, even if $USER != root
|
||||
RUN /usr/sbin/setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/php
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user