Skip to content

Commit

Permalink
update python to 3.8
Browse files Browse the repository at this point in the history
also fix deprecated pip install options
  • Loading branch information
w00kie committed Aug 4, 2020
1 parent 57ee677 commit f382ab2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6-alpine as base
FROM python:3.8-alpine as base

FROM base as builder

Expand All @@ -12,7 +12,7 @@ RUN apk add --update \
libxml2 \
libxml2-dev &&\
apk add libxslt-dev
RUN pip install --install-option="--prefix=/install" -r /install/requirements.txt
RUN pip install --prefix=/install -r /install/requirements.txt

FROM base

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM joyzoursky/python-chromedriver:3.6-alpine3.7-selenium as base
FROM joyzoursky/python-chromedriver:3.8-alpine3.10-selenium as base

FROM base as builder

Expand All @@ -12,7 +12,7 @@ RUN apk add --update \
libxml2 \
libxml2-dev &&\
apk add libxslt-dev
RUN pip install --install-option="--prefix=/install" -r /install/requirements.txt
RUN pip install --prefix=/install -r /install/requirements.txt

FROM base

Expand Down

0 comments on commit f382ab2

Please sign in to comment.