Skip to content

Instantly share code, notes, and snippets.

View Hirdesh2101's full-sized avatar

Hirdesh Garg Hirdesh2101

View GitHub Profile
@Faq
Faq / gist:8821c5fd18dd01da4f80d7435158096d
Last active February 20, 2026 15:15
Install chrome & chromedriver for Docker image 2022
Source: https://gist.github.com/varyonic/dea40abcf3dd891d204ef235c6e8dd79
Change log:
1. replaced "dl-ssl.google.com" with "dl.google.com" according https://www.google.com/linuxrepositories/
2. replaced "apt-key" as "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))."
3. use https
4. use npm package as previous solution didnt work
Oneliner for Dockerfile:
# Install latest Chrome for Testing and ChromeDriver