Skip to content

Instantly share code, notes, and snippets.

View danilsmirnov's full-sized avatar
😇

Danil Smirnov danilsmirnov

😇
View GitHub Profile
@danilsmirnov
danilsmirnov / Dockerfile
Last active November 29, 2021 10:35 — forked from varyonic/Dockerfile
Dockerfile with chromedriver
# See https://codeship.com/documentation/docker/browser-testing/
FROM python:3.9
RUN apt-get update -y
# We need wget to set up the PPA and xvfb to have a virtual screen and unzip to install the Chromedriver
RUN apt-get install -y wget xvfb unzip
RUN apt-get install -y gnupg wget curl unzip --no-install-recommends && \
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 && \