Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,31 @@ ENV \
BACKSTOPJS_VERSION=$BACKSTOPJS_VERSION

# Base packages
RUN apt-get update && \
apt-get install -y git sudo software-properties-common
RUN apt-get update && apt-get install -y \
git \
sudo \
software-properties-common \
&& rm -rf /var/lib/apt/lists/*

RUN sudo npm install -g --unsafe-perm=true --allow-root backstopjs@${BACKSTOPJS_VERSION}

RUN wget https://dl-ssl.google.com/linux/linux_signing_key.pub && sudo apt-key add linux_signing_key.pub
RUN sudo add-apt-repository "deb http://dl.google.com/linux/chrome/deb/ stable main"

RUN apt-get -y update && apt-get -y install google-chrome-stable
RUN apt-get update && apt-get install -y \
google-chrome-stable \
#firefox-esr \
&& rm -rf /var/lib/apt/lists/*

# RUN apt-get install -y firefox-esr

RUN apt-get -qqy update \
&& apt-get -qqy --no-install-recommends install \
RUN apt-get update && apt-get install -y --no-install-recommends \
libfontconfig \
libfreetype6 \
xfonts-cyrillic \
xfonts-scalable \
fonts-liberation \
fonts-ipafont-gothic \
fonts-wqy-zenhei \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get -qyy clean
&& rm -rf /var/lib/apt/lists/*

WORKDIR /src

Expand Down