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

Bundle any of: sudo (and google-chome-stable, chromedriver) #26

Open
marcandre opened this issue Aug 27, 2021 · 1 comment
Open

Bundle any of: sudo (and google-chome-stable, chromedriver) #26

marcandre opened this issue Aug 27, 2021 · 1 comment

Comments

@marcandre
Copy link

First, thank you so much for maintaining the elixir images ❤️

Trying to install chromedriver turned out to be way more complicated than I was hoping for. I'm a n00b, so it took help and a few hours of my time.

The formula I was using required sudo (not installed), and google-chrome, also not installed.

I'm a n00b in these kinds of things, but please consider bundling at leastsudo (for standard and alpine) and ideally google-chome-stable and chromedriver (maybe just for alpine?)

This is using the non-slim version. My quest was even more complicated because it took a while to realize I was using the -slim version, so was also missing wget, curl, unzip, gnupg. Some documentation about the slim vs alpine vs "standard" version would be welcome.

Let me know if (and how) I can help.

FWIW, here's what I ended up using in my github action:

    - name: Install Chrome
      run: |
        wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
        sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
        apt-get update && apt-get install -y sudo google-chrome-stable
    - name: Install chromedriver
      uses: nanasess/setup-chromedriver@master
@marcandre
Copy link
Author

Having npm installed on the alpine build could be helpful too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant