build(docs-infra): pin versions of packages installed in preview server docker image (#29976)

This minimises the risk of unexpected failures due to breaking changes,
when building a new image (e.g. as a result of an unrelated config
change in Dockerfile).

PR Close #29976
This commit is contained in:
George Kalpakas 2019-04-18 17:42:02 +03:00 committed by Ben Lesh
parent 2f1a862b83
commit f84c4b066a
1 changed files with 9 additions and 9 deletions

View File

@ -81,15 +81,15 @@ RUN echo "deb http://ftp.debian.org/debian stretch-backports main" | tee /etc/ap
# Install packages # Install packages
RUN apt-get update -y && apt-get install -y \ RUN apt-get update -y && apt-get install -y \
cron \ cron=3.0pl1-128+deb9u1 \
dnsmasq \ dnsmasq=2.76-5+deb9u2 \
nano \ nano=2.7.4-1 \
nginx \ nginx=1.10.3-1+deb9u2 \
nodejs \ nodejs=10.15.3-1nodesource1 \
openssl \ openssl=1.1.0j-1~deb9u1 \
rsyslog \ rsyslog=8.24.0-1 \
yarn yarn=1.15.2-1
RUN yarn global add pm2@3 RUN yarn global add pm2@3.5.0
# Set up log rotation # Set up log rotation