Add zlib and ssl to mongo
This commit is contained in:
parent
fa61e00cf0
commit
471e5df45c
@ -26,8 +26,12 @@ EXPOSE 22/tcp
|
||||
RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
# Add Mongo DB
|
||||
RUN pecl install mongodb && docker-php-ext-enable mongodb \
|
||||
&& rm -rf /tmp/*
|
||||
RUN apt-get update && apt-get -y install zlib1g-dev libssl-dev \
|
||||
&& 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
|
||||
RUN apt-get update && apt-get install -y openssh-server libpq5 libpq-dev unzip git libldap2-dev \
|
||||
|
Loading…
Reference in New Issue
Block a user