comments
This commit is contained in:
parent
7c840b74d6
commit
64f4d34eec
1 changed files with 3 additions and 0 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue