Skip to content

Commit

Permalink
Update more dependencies in docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelboulton committed Jun 5, 2022
1 parent 9a2e991 commit 9e2e429
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions example/advanced/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.9-alpine
FROM python:3.10-alpine

RUN pip3 install flask "pyjwt<2"
RUN pip3 install pyjwt~=2.4.0 flask~=2.0.3

COPY server.py /

Expand Down
6 changes: 2 additions & 4 deletions example/components/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM python:3.9-alpine
FROM python:3.10-alpine

RUN pip install flask

RUN pip install pyjwt>=2.4.0,<3
RUN pip3 install pyjwt~=2.4.0 flask~=2.0.3

COPY server.py /

Expand Down
4 changes: 2 additions & 2 deletions example/cookies/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.9-alpine
FROM python:3.10-alpine

RUN pip install flask pyjwt
RUN pip3 install pyjwt~=2.4.0 flask~=2.0.3

COPY server.py /

Expand Down
4 changes: 2 additions & 2 deletions example/hooks/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.9-alpine
FROM python:3.10-alpine

RUN pip install flask pyjwt
RUN pip3 install pyjwt~=2.4.0 flask~=2.0.3

COPY server.py /

Expand Down
4 changes: 2 additions & 2 deletions tests/integration/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.9-alpine
FROM python:3.10-alpine

RUN pip install flask pyjwt
RUN pip3 install pyjwt~=2.4.0 flask~=2.0.3

COPY server.py /

Expand Down

0 comments on commit 9e2e429

Please sign in to comment.