Clean tmp after pecl install
This commit is contained in:
parent
139946ed1a
commit
ab31f9a71b
@ -28,7 +28,7 @@ EXPOSE 9000/tcp 22/tcp
|
|||||||
RUN docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql ldap gettext
|
RUN docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql ldap gettext
|
||||||
|
|
||||||
# Enable phpredis
|
# 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
|
# Add composer
|
||||||
RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
|
RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
|
Loading…
Reference in New Issue
Block a user