Skip to content

Commit

Permalink
Merge pull request #48 from codacy/fix/downgrade-python3
Browse files Browse the repository at this point in the history
fix: Downgrade python3 version CY-4843
  • Loading branch information
Francisco Duarte authored Sep 7, 2021
2 parents 7fe870e + 55e204b commit b9b01c1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM alpine:3.13
# Until this issue is fixed https://github.com/PyCQA/bandit/issues/658
# we cannot bump python's verion
FROM python:3.7-alpine3.13

COPY requirements.txt requirements.txt
RUN apk add --no-cache --update bash python3 py3-pip openjdk11-jre && \
RUN apk add --no-cache --update bash openjdk11-jre && \
python3 -m pip install --upgrade --ignore-installed --no-cache-dir -r requirements.txt

COPY docs /docs
Expand Down

0 comments on commit b9b01c1

Please sign in to comment.