Skip to content

Commit

Permalink
Dockerfile: Security upgrade python from 3.10-alpine to 3.11-alpine (#…
Browse files Browse the repository at this point in the history
…1781)

Co-authored-by: Michael R. Crusoe <michael.crusoe@gmail.com>
  • Loading branch information
snyk-bot and mr-c authored Jan 7, 2023
1 parent e1a9100 commit 955616b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cwltool.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-alpine as builder
FROM python:3.11-alpine as builder

RUN apk add --no-cache git gcc python3-dev libxml2-dev libxslt-dev libc-dev linux-headers

Expand All @@ -14,13 +14,13 @@ RUN SCHEMA_SALAD_USE_MYPYC=1 MYPYPATH=mypy-stubs pip wheel --no-binary schema-sa
RUN pip install --force-reinstall --no-index --no-warn-script-location --root=/pythonroot/ /wheels/*.whl
# --force-reinstall to install our new mypyc compiled schema-salad package

FROM python:3.10-alpine as module
FROM python:3.11-alpine as module
LABEL maintainer peter.amstutz@curri.com

RUN apk add --no-cache docker nodejs graphviz libxml2 libxslt
COPY --from=builder /pythonroot/ /

FROM python:3.10-alpine
FROM python:3.11-alpine
LABEL maintainer peter.amstutz@curri.com

RUN apk add --no-cache docker nodejs graphviz libxml2 libxslt
Expand Down

0 comments on commit 955616b

Please sign in to comment.