|
@ -28,10 +28,29 @@ RUN ln -snf /usr/share/zoneinfo/$CUSTOM_TZ /etc/localtime && echo $CUSTOM_TZ > / |
|
|
# Additional PHP-extensions: |
|
|
# Additional PHP-extensions: |
|
|
########################################################################### |
|
|
########################################################################### |
|
|
|
|
|
|
|
|
#RUN pecl install igbinary && pecl install -a redis |
|
|
|
|
|
RUN pecl install -a redis |
|
|
|
|
|
|
|
|
ARG INSTALL_REDIS=false |
|
|
|
|
|
|
|
|
RUN echo "extension=redis.so" > /etc/php/${PHP_VERSION}/cli/conf.d/20-redis.ini |
|
|
|
|
|
|
|
|
#RUN pecl install igbinary |
|
|
|
|
|
|
|
|
|
|
|
RUN if [ ${INSTALL_REDIS} = true ]; then \ |
|
|
|
|
|
pecl install -a redis \ |
|
|
|
|
|
echo "extension=redis.so" > /etc/php/${PHP_VERSION}/cli/conf.d/20-redis.ini \ |
|
|
|
|
|
;fi |
|
|
|
|
|
|
|
|
|
|
|
########################################################################### |
|
|
|
|
|
# Libreoffice |
|
|
|
|
|
########################################################################### |
|
|
|
|
|
|
|
|
|
|
|
ARG INSTALL_LIBREOFFICE=false |
|
|
|
|
|
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive |
|
|
|
|
|
|
|
|
|
|
|
RUN if [ ${INSTALL_LIBREOFFICE} = true ]; then \ |
|
|
|
|
|
add-apt-repository ppa:libreoffice/ppa \ |
|
|
|
|
|
&& apt update \ |
|
|
|
|
|
&& apt install libreoffice-nogui -y --no-install-recommends \ |
|
|
|
|
|
&& apt clean \ |
|
|
|
|
|
;fi |
|
|
|
|
|
|
|
|
########################################################################### |
|
|
########################################################################### |
|
|
# S3 config |
|
|
# S3 config |
|
@ -106,10 +125,3 @@ USER root |
|
|
COPY ./crontab /etc/cron.d |
|
|
COPY ./crontab /etc/cron.d |
|
|
|
|
|
|
|
|
RUN chmod -R 644 /etc/cron.d |
|
|
RUN chmod -R 644 /etc/cron.d |
|
|
|
|
|
|
|
|
########################################################################### |
|
|
|
|
|
# Libreoffice: |
|
|
|
|
|
########################################################################### |
|
|
|
|
|
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive |
|
|
|
|
|
RUN add-apt-repository ppa:libreoffice/ppa && apt update && apt install libreoffice-nogui -y --no-install-recommends && apt clean |
|
|
|