chore: fix e2e tests by manually installing chrome inside docker container

This commit is contained in:
Johannes Millan 2020-05-13 01:30:01 +02:00
parent 399691576e
commit 71e3b8c564
2 changed files with 9 additions and 1 deletions

View file

@ -1,7 +1,14 @@
FROM electronuserland/builder:wine-chrome
FROM electronuserland/builder:wine
ENV DEBIAN_FRONTEND=noninteractive
# install google chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \
apt-get update -y && apt-get install -y --no-install-recommends xvfb google-chrome-stable libgconf-2-4 && \
# clean
apt-get clean && rm -rf /var/lib/apt/lists/*
# replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh

View file

@ -7,6 +7,7 @@ PUB=$1
cd "$(dirname "$0")"
echo PUB $PUB
google-chrome --version
docker run $ENVS --rm \
$(env | \