File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM python:3.9 -alpine as builder
1
+ FROM python:3.10 -alpine as builder
2
2
3
3
RUN apk add --no-cache git gcc python3-dev libxml2-dev libxslt-dev libc-dev linux-headers
4
4
@@ -9,20 +9,21 @@ RUN pip install toml -rmypy_requirements.txt "$(grep ruamel requirements.txt)" \
9
9
"$(grep schema.salad requirements.txt)"
10
10
# schema-salad is needed to be installed (this time as pure Python) for
11
11
# cwltool + mypyc
12
- RUN CWLTOOL_USE_MYPYC=1 MYPYPATH=typeshed python setup.py bdist_wheel --dist-dir=/wheels
13
- RUN pip wheel -r requirements.txt galaxy-tool-util --wheel-dir=/wheels
12
+ RUN CWLTOOL_USE_MYPYC=1 MYPYPATH=typeshed pip wheel --no-binary schema-salad --wheel-dir=/wheels .[deps]
14
13
RUN rm /wheels/schema_salad*
15
- RUN SCHEMA_SALAD_USE_MYPYC=1 MYPYPATH=typeshed pip wheel --no-binary :all: $(grep schema.salad requirements.txt) --wheel-dir=/wheels
14
+ RUN pip install black
15
+ RUN SCHEMA_SALAD_USE_MYPYC=1 MYPYPATH=typeshed pip wheel --no-binary schema-salad \
16
+ $(grep schema.salad requirements.txt) --wheel-dir=/wheels
16
17
RUN pip install --force-reinstall --no-index --no-warn-script-location --root=/pythonroot/ /wheels/*.whl
17
18
# --force-reinstall to install our new mypyc compiled schema-salad package
18
19
19
- FROM python:3.9 -alpine as module
20
+ FROM python:3.10 -alpine as module
20
21
LABEL maintainer
[email protected]
21
22
22
23
RUN apk add --no-cache docker nodejs graphviz libxml2 libxslt
23
24
COPY --from=builder /pythonroot/ /
24
25
25
- FROM python:3.9 -alpine
26
+ FROM python:3.10 -alpine
26
27
LABEL maintainer
[email protected]
27
28
28
29
RUN apk add --no-cache docker nodejs graphviz libxml2 libxslt
You can’t perform that action at this time.
0 commit comments