From 6e270260e535eacbed8ba0600b2d97e68e3be8dd Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 20 Jan 2021 09:57:31 +0100 Subject: [PATCH] chore: bump python version to 3.10-rc --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce6016e..7459612 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-rc-alpine +FROM python:3.10-rc-alpine3.12 ARG BUILD_DATE ARG VCS_REF @@ -28,7 +28,7 @@ RUN pip install --no-cache-dir \ # Chrome requires docker to have cap_add: SYS_ADMIN if sandbox is on. # Disabling sandbox and gpu as default. -RUN sed -i "s/self._arguments\ =\ \[\]/self._arguments\ =\ \['--no-sandbox',\ '--disable-gpu'\]/" /usr/local/lib/python3.9/site-packages/selenium/webdriver/chrome/options.py +RUN sed -i "s/self._arguments\ =\ \[\]/self._arguments\ =\ \['--no-sandbox',\ '--disable-gpu'\]/" /usr/local/lib/python3.10/site-packages/selenium/webdriver/chrome/options.py ENV ROBOT_UID 1000 ENV ROBOT_NAME rf