Skip to content

Commit

Permalink
deleted apached modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jdabat committed Jun 20, 2024
1 parent 925542a commit 763b0ef
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,21 @@ RUN git clone https://github.com/remicollet/php-rar.git \
&& echo extension=rar.so >> /usr/local/etc/php/conf.d/docker-php-ext-rar.ini

# Delete uneeded php extentions
# php
RUN rm -rf /usr/local/etc/php/conf.d/docker-php-ext-ftp.ini
RUN rm -rf /usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini
RUN rm -rf /usr/local/etc/php/conf.d/docker-php-ext-redis.ini
RUN rm -rf /usr/local/etc/php/conf.d/docker-php-ext-ldap.ini
RUN rm -rf /usr/local/etc/php/conf.d/docker-php-ext-gmp.ini
RUN rm -rf /usr/local/etc/php/conf.d/docker-php-ext-sysvsem.ini
RUN rm -rf /usr/local/etc/php/conf.d/docker-php-ext-bcmath.ini

# apache2
RUN rm -rf /etc/apache2/mods-enabled/status.load
RUN rm -rf /etc/apache2/mods-enabled/status.conf
RUN rm -rf /etc/apache2/mods-enabled/autoindex.conf
RUN rm -rf /etc/apache2/mods-enabled/autoindex.load
RUN rm -rf /usr/lib/apache2/modules/mod_autindex.so
RUN rm -rf /usr/lib/apache2/modules/mod_status.so

ENV NEXTCLOUD_UPDATE=1

Expand Down

0 comments on commit 763b0ef

Please sign in to comment.