joyzoursky / docker-python-chromedriver

Dockerfile for running Python Selenium in headless Chrome (Python 2.7 / 3.6 / 3.7 / 3.8 / Alpine based Python / Chromedriver / Selenium / Xvfb included in different versions)
https://hub.docker.com/r/joyzoursky/python-chromedriver/
MIT License
636 stars 196 forks source link

Fix the base image of Dockerfile on py3.7-alpine3.8-selenium #6

Closed ukwksk closed 5 years ago

ukwksk commented 5 years ago

On the Docker image, joyzoursky/python-chromedriver:3.7-alpine3.8-selenium, the base image should be python:3.7-alpine3.8. But, on the current Dockerfile, the base image is python:3.6-alpine3.7 .

$ docker run --rm -it joyzoursky/python-chromedriver:3.7-alpine3.8-selenium /bin/sh
/ # python --version
Python 3.6.6

I modified Dockerfile like below.

Before:

FROM python:3.6-alpine3.7
...

After:

FROM python:3.7-alpine3.8
...