Add nano editor

This commit is contained in:
Glenn Y. Rolland 2021-01-24 00:52:03 +01:00
parent 90077c3f5a
commit a19c0cf301

View file

@ -7,6 +7,10 @@
# FROM nextcloud:20.0.0-apache # FROM nextcloud:20.0.0-apache
FROM nextcloud:20.0.5-apache FROM nextcloud:20.0.5-apache
RUN apt-get update \
&& apt-get install -y nano \
&& apt-get clean
## Enable REDIS extension ## Enable REDIS extension
# RUN pecl channel-update pecl.php.net \ # RUN pecl channel-update pecl.php.net \
# && sh -c "yes '' | pecl install redis" \ # && sh -c "yes '' | pecl install redis" \
@ -16,13 +20,13 @@ FROM nextcloud:20.0.5-apache
# && docker-php-ext-enable redis # && docker-php-ext-enable redis
## Enable APCU extension ## Enable APCU extension
RUN pecl channel-update pecl.php.net \ # RUN pecl channel-update pecl.php.net \
&& pecl install apcu-${APCU_VERSION} \ # && pecl install apcu-${APCU_VERSION} \
&& rm -f /usr/local/etc/php/glenux-apcu.ini \ # && rm -f /usr/local/etc/php/glenux-apcu.ini \
&& echo "extension=apcu.so" >> /usr/local/etc/php/glenux-apcu.ini \ # && echo "extension=apcu.so" >> /usr/local/etc/php/glenux-apcu.ini \
&& echo "apc.enable_cli=1" >> /usr/local/etc/php/glenux-apcu.ini \ # && echo "apc.enable_cli=1" >> /usr/local/etc/php/glenux-apcu.ini \
&& echo "apc.enable=1" >> /usr/local/etc/php/glenux-apcu.ini \ # && echo "apc.enable=1" >> /usr/local/etc/php/glenux-apcu.ini \
&& docker-php-ext-enable apcu # && docker-php-ext-enable apcu
# apt-get install -q -y cron && \ # apt-get install -q -y cron && \
# apt-get clean # apt-get clean