ldap enabled, only amd64 for docker

This commit is contained in:
Milos Stojanovic
2022-10-12 12:03:48 +02:00
parent 4a32856c38
commit 30339b8998
2 changed files with 9 additions and 4 deletions

View File

@@ -32,10 +32,11 @@ RUN rm -rf node_modules frontend tests docs .git*
FROM php:7-apache-buster
RUN apt-get update > /dev/null
RUN apt-get install -y git libzip-dev
RUN apt-get install -y git libzip-dev libldap2-dev
RUN docker-php-ext-install zip
RUN docker-php-ext-enable zip
RUN docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/
RUN docker-php-ext-install zip ldap
RUN docker-php-ext-enable zip ldap
COPY --from=builder /var/www/filegator /var/www/filegator
RUN chown -R www-data:www-data /var/www/filegator/