Skip to content

Commit feda254

Browse files
snyk-botmr-c
authored andcommitted
fix: cwltool.Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE313-APKTOOLS-1246345
1 parent e37134a commit feda254

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cwltool.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.6-alpine as builder
1+
FROM python:3.8-alpine as builder
22

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

@@ -9,13 +9,13 @@ RUN python setup.py bdist_wheel --dist-dir=/wheels
99
RUN pip wheel -r requirements.txt --wheel-dir=/wheels
1010
RUN pip install --no-index --no-warn-script-location --root=/pythonroot/ /wheels/*.whl
1111

12-
FROM python:3.6-alpine as module
12+
FROM python:3.8-alpine as module
1313
LABEL maintainer [email protected]
1414

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

18-
FROM python:3.6-alpine
18+
FROM python:3.8-alpine
1919
LABEL maintainer [email protected]
2020

2121
RUN apk add --no-cache docker nodejs graphviz libxml2 libxslt

0 commit comments

Comments
 (0)