mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-08 08:52:23 +02:00
Added ldap, sockets, xattr for features.
This commit is contained in:
parent
a72b3d20c3
commit
d61e8132dc
|
@ -11,8 +11,10 @@ STOPSIGNAL SIGINT
|
|||
WORKDIR /var/www/html
|
||||
|
||||
RUN apk add --no-cache zip libzip openssl bzip2 \
|
||||
&& apk add --no-cache --virtual .build-deps libzip-dev openssl-dev bzip2-dev oniguruma-dev openldap-dev \
|
||||
&& docker-php-ext-install zip fileinfo phar bz2 iconv mbstring ldap \
|
||||
&& apk add --no-cache --virtual .build-deps libzip-dev openssl-dev bzip2-dev oniguruma-dev openldap-dev build-base autoconf \
|
||||
&& pecl install xattr-1.4.0 \
|
||||
&& rm -rf /tmp/pear \
|
||||
&& docker-php-ext-install zip fileinfo phar bz2 iconv mbstring ldap sockets \
|
||||
&& runDeps="$( \
|
||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
||||
| tr ',' '\n' \
|
||||
|
@ -20,7 +22,8 @@ RUN apk add --no-cache zip libzip openssl bzip2 \
|
|||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
)" \
|
||||
&& apk add --virtual .phpexts-rundeps $runDeps \
|
||||
&& apk del .build-deps
|
||||
&& apk del .build-deps \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY *.php /var/www/html/
|
||||
COPY *.json /var/www/html/
|
||||
|
|
|
@ -11,8 +11,10 @@ STOPSIGNAL SIGINT
|
|||
WORKDIR /var/www/html
|
||||
|
||||
RUN apk add --no-cache zip libzip openssl bzip2 \
|
||||
&& apk add --no-cache --virtual .build-deps libzip-dev openssl-dev bzip2-dev oniguruma-dev openldap-dev \
|
||||
&& docker-php-ext-install zip fileinfo phar bz2 iconv mbstring ldap \
|
||||
&& apk add --no-cache --virtual .build-deps libzip-dev openssl-dev bzip2-dev oniguruma-dev openldap-dev build-base autoconf \
|
||||
&& pecl install xattr-1.4.0 \
|
||||
&& rm -rf /tmp/pear \
|
||||
&& docker-php-ext-install zip fileinfo phar bz2 iconv mbstring ldap sockets \
|
||||
&& runDeps="$( \
|
||||
scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
|
||||
| tr ',' '\n' \
|
||||
|
@ -20,7 +22,8 @@ RUN apk add --no-cache zip libzip openssl bzip2 \
|
|||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
)" \
|
||||
&& apk add --virtual .phpexts-rundeps $runDeps \
|
||||
&& apk del .build-deps
|
||||
&& apk del .build-deps \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY *.php /var/www/html/
|
||||
COPY *.json /var/www/html/
|
||||
|
|
Loading…
Reference in a new issue