Need to remove nginx-core otherwise there are dependancy issues adding db modules
This commit is contained in:
parent
3302b0d6d4
commit
6da5ac5983
@ -5,6 +5,7 @@ FROM php:8.0-fpm
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y openssh-server unzip git msmtp nginx wait-for-it \
|
RUN apt-get update && apt-get install -y openssh-server unzip git msmtp nginx wait-for-it \
|
||||||
&& rm /etc/nginx/sites-enabled/default \
|
&& rm /etc/nginx/sites-enabled/default \
|
||||||
|
&& apt-get -y purge nginx-core \
|
||||||
&& apt-get -y autoremove \
|
&& apt-get -y autoremove \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
@ -34,7 +35,7 @@ RUN apt-get update && apt-get -y install zlib1g-dev libssl-dev \
|
|||||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
# Mysql/Postgress/LDAP
|
# Mysql/Postgress/LDAP
|
||||||
RUN apt-get update && apt-get install -y openssh-server libpq5 libpq-dev unzip git libldap2-dev \
|
RUN apt-get update && apt-get install -y libpq5 libpq-dev unzip git libldap2-dev \
|
||||||
&& docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql ldap gettext \
|
&& docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql ldap gettext \
|
||||||
&& apt-get -y purge libpq-dev libldap2-dev libx11-6 dbus ncurses-term systemd \
|
&& apt-get -y purge libpq-dev libldap2-dev libx11-6 dbus ncurses-term systemd \
|
||||||
&& apt-get -y autoremove \
|
&& apt-get -y autoremove \
|
||||||
|
Loading…
Reference in New Issue
Block a user