Add zlib and ssl to mongo

This commit is contained in:
Deon George 2021-07-07 23:28:58 +10:00
parent fa61e00cf0
commit 471e5df45c

View File

@ -26,8 +26,12 @@ EXPOSE 22/tcp
RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
# Add Mongo DB # Add Mongo DB
RUN pecl install mongodb && docker-php-ext-enable mongodb \ RUN apt-get update && apt-get -y install zlib1g-dev libssl-dev \
&& rm -rf /tmp/* && pecl install mongodb && docker-php-ext-enable mongodb \
&& apt-get -y purge zlib1g-dev libssl-dev \
&& apt-get -y autoremove \
&& apt-get clean \
&& 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 openssh-server libpq5 libpq-dev unzip git libldap2-dev \