-
-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.11-alpine3.17 as builder | ||
FROM python:3.12-alpine3.17 as builder | ||
|
||
RUN apk add --no-cache git gcc python3-dev libxml2-dev libxslt-dev libc-dev linux-headers | ||
|
||
|
@@ -8,20 +8,20 @@ RUN CWLTOOL_USE_MYPYC=1 MYPYPATH=mypy-stubs pip wheel --no-binary schema-salad \ | |
--wheel-dir=/wheels .[deps] # --verbose | ||
RUN rm /wheels/schema_salad* | ||
RUN pip install "black~=22.0" | ||
# galaxy-util 22.1.2 depends on packaging<22, but black 23.x needs packaging>22 | ||
# galaxy-util 22.1.x depends on packaging<22, but black 23.x needs packaging>22 | ||
RUN SCHEMA_SALAD_USE_MYPYC=1 MYPYPATH=mypy-stubs pip wheel --no-binary schema-salad \ | ||
$(grep schema.salad requirements.txt) "black~=22.0" --wheel-dir=/wheels # --verbose | ||
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.11-alpine3.17 as module | ||
FROM python:3.12-alpine3.17 as module | ||
LABEL maintainer [email protected] | ||
|
||
RUN apk add --no-cache docker nodejs 'graphviz<8' libxml2 libxslt | ||
COPY --from=builder /pythonroot/ / | ||
|
||
FROM python:3.11-alpine3.17 | ||
FROM python:3.12-alpine3.17 | ||
LABEL maintainer [email protected] | ||
|
||
RUN apk add --no-cache docker nodejs 'graphviz<8' libxml2 libxslt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters