Added puppeteer dependencies
This commit is contained in:
parent
f37c899e97
commit
0bb9ee6379
|
@ -15,15 +15,25 @@ RUN apt-get update \
|
||||||
vim \
|
vim \
|
||||||
wget \
|
wget \
|
||||||
curl \
|
curl \
|
||||||
libnss3 \
|
|
||||||
&& curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` \
|
&& curl -L https://github.com/docker/compose/releases/download/1.25.0/docker-compose-`uname -s`-`uname -m` \
|
||||||
-o /usr/local/bin/docker-compose \
|
-o /usr/local/bin/docker-compose \
|
||||||
&& chmod +x /usr/local/bin/docker-compose \
|
&& chmod +x /usr/local/bin/docker-compose \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
|
||||||
&& echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers \
|
&& echo "jenkins ALL=NOPASSWD: ALL" >> /etc/sudoers \
|
||||||
&& groupadd -g 998 docker \
|
&& groupadd -g 998 docker \
|
||||||
&& usermod -a -G docker jenkins
|
&& usermod -a -G docker jenkins
|
||||||
|
|
||||||
|
# Puppeteer
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
gconf-service libasound2 libatk1.0-0 libc6 \
|
||||||
|
libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 \
|
||||||
|
libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 \
|
||||||
|
libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 \
|
||||||
|
libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 \
|
||||||
|
libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \
|
||||||
|
fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN cd /opt \
|
RUN cd /opt \
|
||||||
&& wget https://ftp.mozilla.org/pub/firefox/releases/64.0.2/linux-x86_64/en-US/firefox-64.0.2.tar.bz2 \
|
&& wget https://ftp.mozilla.org/pub/firefox/releases/64.0.2/linux-x86_64/en-US/firefox-64.0.2.tar.bz2 \
|
||||||
&& tar xvjf firefox-64.0.2.tar.bz2 \
|
&& tar xvjf firefox-64.0.2.tar.bz2 \
|
||||||
|
|
Loading…
Reference in New Issue