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.
master
Eddy Vervest 2 years ago committed by GitHub
parent c2d85ecc32
commit c4c442d000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@ LABEL version=$VERSION
RUN set -eu \ RUN set -eu \
&& apt update \ && apt update \
&& echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \ && 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 curl python3-pip git python3-multidict \
python3-jinja2 gpg gpg-agent tzdata \ python3-jinja2 gpg gpg-agent tzdata \
&& pip3 install socrate \ && 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 \ && 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)" \ && 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 \ libfreetype6-dev libicu-dev libjpeg62-turbo-dev libldap2-dev libmagickwand-dev \
libpng-dev libpq-dev libsqlite3-dev libzip-dev libpspell-dev libonig-dev \ libpng-dev libpq-dev libsqlite3-dev libzip-dev libpspell-dev libonig-dev \
&& ln -s php.ini-production /usr/local/etc/php/php.ini \ && ln -s php.ini-production /usr/local/etc/php/php.ini \

Loading…
Cancel
Save