This commit is contained in:
Greyscale 2021-05-30 16:36:16 +02:00
parent 7c840b74d6
commit 64f4d34eec

View file

@ -23,12 +23,15 @@ ENV PHPFPM_MAX_CHILDREN=25
COPY php+nginx /conf
RUN apt-get -qq update && \
# Install pre-dependencies to use apt-key.
apt-get -yqq install --no-install-recommends \
lsb-core \
gnupg \
&& \
# Add nginx ppa
sh -c 'echo "deb http://ppa.launchpad.net/nginx/stable/ubuntu $(lsb_release -sc) main" \
> /etc/apt/sources.list.d/nginx-stable.list' && \
# Add nginx key
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C && \
apt-get -qq update && \
apt-get -yqq install --no-install-recommends \