Update Dockerfile to include things needed for deploy-ebook-to-www

I do not know why, but if you try to combine both the apt-get lines, the server crashes. This works, and doesn’t cause any problems apart from being a little messier in looks, so 🤷‍♂️
This commit is contained in:
Robin Whittleton 2021-07-26 21:47:49 +02:00 committed by Alex Cabal
parent 8a13046496
commit 3b53b4b991

View file

@ -2,8 +2,15 @@ FROM ubuntu:20.04
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y composer php-fpm php-cli php-gd php-xml php-apcu php-mbstring php-intl apache2 apache2-utils libfcgi0ldbl task-spooler
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y sudo imagemagick openjdk-8-jre python3 pip calibre
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN pip install standardebooks
RUN sudo addgroup committers
RUN sudo adduser se
RUN sudo usermod -g committers se
RUN mkdir -p /standardebooks.org/web
RUN mkdir /var/log/local