From ab31f9a71b2390c3fbd46e66b1ef6eaa52bd2653 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 20 Jan 2020 14:36:18 +1100 Subject: [PATCH] Clean tmp after pecl install --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 64dda36..a873f68 100755 --- a/Dockerfile +++ b/Dockerfile @@ -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