Update: Requirement

This commit is contained in:
Siroco 2023-05-04 18:06:34 +00:00
parent f48bd298ff
commit ab236dc7b7

View File

@ -13,9 +13,10 @@ RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https:
RUN apt-get update RUN apt-get update
RUN apt install -y \ RUN apt install -y \
tesseract-ocr sudo tesseract-ocr tesseract-ocr-spa sudo
RUN apt install -y r-base r-base-dev r-recommended imagemagick RUN apt install -y r-base r-base-dev r-recommended imagemagick ffmpeg python3 \
mariadb-client unoconv
RUN apt remove -y php-cli && apt install -y php${PHP_VERSION}-cli RUN apt remove -y php-cli && apt install -y php${PHP_VERSION}-cli
@ -30,10 +31,12 @@ RUN apt install -y \
RUN update-alternatives --install /usr/bin/php php /usr/bin/php${PHP_VERSION} 99 --force RUN update-alternatives --install /usr/bin/php php /usr/bin/php${PHP_VERSION} 99 --force
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN apt install -y \ RUN apt install -y \
apache2 apache2-utils libapache2-mod-php${PHP_VERSION} apache2 apache2-utils libapache2-mod-php${PHP_VERSION}
RUN a2enmod rewrite alias authz_user ssl RUN a2enmod rewrite alias authz_user ssl security
RUN addgroup --gid ${GID} tikiwiki RUN addgroup --gid ${GID} tikiwiki
@ -57,14 +60,14 @@ RUN git clone -b ${BRANCH} https://gitlab.com/tikiwiki/tiki.git .
RUN bash setup.sh -n composer RUN bash setup.sh -n composer
ADD entrypoint.sh /entrypoint.sh
USER root USER root
RUN mkdir -p files/forums && chmod -R 777 files/forums RUN mkdir -p files/forums && chmod -R 777 files/forums
ADD start.sh /start.sh ADD start.sh /start.sh
ADD entrypoint.sh /entrypoint.sh
VOLUME ["/uploads"] VOLUME ["/uploads"]
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ] ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]