mirror of
https://github.com/Mailu/Mailu.git
synced 2025-02-21 19:19:39 +02:00
Update Dockerfile
apt is intended for interactive usage, for scripts use apt-get (https://manpages.debian.org/bullseye/apt/apt.8.en.html) to avoid warnings.
This commit is contained in:
parent
c2d85ecc32
commit
c4c442d000
@ -15,7 +15,7 @@ LABEL version=$VERSION
|
||||
RUN set -eu \
|
||||
&& apt update \
|
||||
&& echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
|
||||
&& apt install -y --no-install-recommends \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
python3 curl python3-pip git python3-multidict \
|
||||
python3-jinja2 gpg gpg-agent tzdata \
|
||||
&& pip3 install socrate \
|
||||
@ -24,7 +24,7 @@ RUN set -eu \
|
||||
&& sed -i 's,CustomLog.*combined$,\0 "'"expr=!(%{HTTP_USER_AGENT}=='health'\&\&(-R '127.0.0.1/8' || -R '::1'))"'",' /etc/apache2/sites-available/000-default.conf \
|
||||
\
|
||||
&& mark="$(apt-mark showmanual)" \
|
||||
&& apt install -y --no-install-recommends \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
libfreetype6-dev libicu-dev libjpeg62-turbo-dev libldap2-dev libmagickwand-dev \
|
||||
libpng-dev libpq-dev libsqlite3-dev libzip-dev libpspell-dev libonig-dev \
|
||||
&& ln -s php.ini-production /usr/local/etc/php/php.ini \
|
||||
|
Loading…
x
Reference in New Issue
Block a user