Added memcached to php
This commit is contained in:
parent
d6de32b198
commit
45d16b63cb
@ -36,6 +36,14 @@ RUN apt-get update && apt-get install -y openssh-server libpq5 libpq-dev unzip g
|
|||||||
# Enable phpredis
|
# Enable phpredis
|
||||||
RUN pecl install -o -f igbinary && pecl install -o -f redis && docker-php-ext-enable redis igbinary && rm -rf /tmp/*
|
RUN pecl install -o -f igbinary && pecl install -o -f redis && docker-php-ext-enable redis igbinary && rm -rf /tmp/*
|
||||||
|
|
||||||
|
# Enable phpmemcache
|
||||||
|
RUN apt-get update && apt-get install -y memcached libmemcachedutil2 zlib1g-dev libmemcached-dev \
|
||||||
|
&& pecl install -o -f memcached && docker-php-ext-enable memcached \
|
||||||
|
&& apt-get -y purge zlib1g-dev libmemcached-dev \
|
||||||
|
&& apt-get -y autoremove \
|
||||||
|
&& apt-get clean \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
COPY init /sbin/
|
COPY init /sbin/
|
||||||
RUN chmod 550 /sbin/init && chown 0:0 /sbin/init
|
RUN chmod 550 /sbin/init && chown 0:0 /sbin/init
|
||||||
ENTRYPOINT [ "/sbin/init" ]
|
ENTRYPOINT [ "/sbin/init" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user