mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
chore: fix e2e tests by manually installing chrome inside docker container
This commit is contained in:
parent
399691576e
commit
71e3b8c564
2 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ PUB=$1
|
|||
cd "$(dirname "$0")"
|
||||
|
||||
echo PUB $PUB
|
||||
google-chrome --version
|
||||
|
||||
docker run $ENVS --rm \
|
||||
$(env | \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue