Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add google-chrome browser and dependancies #5

Merged
merged 1 commit into from
Oct 25, 2016
Merged
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
26 changes: 25 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,32 @@ RUN sudo pacman --noconfirm --needed -S \
chromium \
firefox \
xorg-server-xvfb \
# x11vnc \
x11vnc \
nodejs \
### chrome dependencies
alsa-lib \
desktop-file-utils \
flac \
gconf \
gnome-themes-standard \
gtk2 \
harfbuzz \
harfbuzz-icu \
hicolor-icon-theme \
libpng \
libxss \
libxtst \
nss \
opus \
snappy \
speech-dispatcher \
ttf-font \
xdg-utils \
fakeroot \
patch \
# yaourt
openssh

RUN git clone https://aur.archlinux.org/google-chrome.git && cd google-chrome && makepkg && sudo pacman -U google-chrome-5* --noconfirm --needed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just use Chromium? Does that install the correct dependencies? Why do you need google-chrome?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pmaudsley, either work on daffl/launchpad!62 or just export LAUNCHPAD_CHROME=/usr/bin/chromium in either this file, or ideally in the variables in the .gitlab-ci.yml


RUN sudo npm install -g gulp bower polymer-cli