Skip to content

Commit

Permalink
remove Memcached form the base image, making it optional on LaraDock
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoudz committed Aug 16, 2016
1 parent dd288bf commit 0ffd472
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions Dockerfile-70
Original file line number Diff line number Diff line change
Expand Up @@ -49,22 +49,3 @@ RUN docker-php-ext-configure gd \
--with-jpeg-dir=/usr/lib \
--with-freetype-dir=/usr/include/freetype2 && \
docker-php-ext-install gd

#####################################
# Memcached:
#####################################

# Install the memcached extention
RUN curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/php7.tar.gz" \
&& mkdir -p memcached \
&& tar -C memcached -zxvf /tmp/memcached.tar.gz --strip 1 \
&& ( \
cd memcached \
&& phpize \
&& ./configure \
&& make -j$(nproc) \
&& make install \
) \
&& rm -r memcached \
&& rm /tmp/memcached.tar.gz \
&& docker-php-ext-enable memcached

0 comments on commit 0ffd472

Please sign in to comment.