Clean tmp after pecl install

This commit is contained in:
Deon George 2020-01-20 14:36:18 +11:00
parent 139946ed1a
commit ab31f9a71b

View File

@ -28,7 +28,7 @@ EXPOSE 9000/tcp 22/tcp
RUN docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql ldap gettext
# Enable phpredis
RUN pecl install -o -f igbinary && y | pecl install -o -f redis && docker-php-ext-enable redis igbinary && rm -f /tmp/*
RUN pecl install -o -f igbinary && y | pecl install -o -f redis && docker-php-ext-enable redis igbinary && rm -rf /tmp/*
# Add composer
RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer