Update: Requirement
This commit is contained in:
parent
f48bd298ff
commit
ab236dc7b7
13
Dockerfile
13
Dockerfile
@ -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 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
|
||||
|
||||
@ -30,10 +31,12 @@ RUN apt install -y \
|
||||
|
||||
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 \
|
||||
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
|
||||
|
||||
@ -57,14 +60,14 @@ RUN git clone -b ${BRANCH} https://gitlab.com/tikiwiki/tiki.git .
|
||||
|
||||
RUN bash setup.sh -n composer
|
||||
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
|
||||
USER root
|
||||
|
||||
RUN mkdir -p files/forums && chmod -R 777 files/forums
|
||||
|
||||
ADD start.sh /start.sh
|
||||
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
|
||||
VOLUME ["/uploads"]
|
||||
|
||||
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]
|
||||
|
Loading…
Reference in New Issue
Block a user