File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22set -ex
33docker build --file=schema_salad.Dockerfile --tag=quay.io/commonwl/schema_salad .
44docker run quay.io/commonwl/schema_salad /bin/sh -c \
5- ' apk add --no-cache py3-pip && pip install pytest-xdist && pytest --pyargs schema_salad -n auto'
5+ ' apk add --no-cache py3-pip && pip install pytest-xdist && cd /tmp && pytest --pyargs schema_salad -n auto'
66
77# version=$(git describe --tags)
88# if echo "$version" | grep -vq '\-' >& /dev/null ; then
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN python3 -m venv env3
88RUN source env3/bin/activate && python3 -m pip install -U pip setuptools wheel build
99RUN export SETUPTOOLS_SCM_PRETEND_VERSION=$(grep __version__ schema_salad/_version.py | awk -F\' '{ print $2 }' ) ; source env3/bin/activate && SCHEMA_SALAD_USE_MYPYC=1 MYPYPATH=mypy-stubs python3 -m build --wheel --outdir=/wheels
1010RUN source env3/bin/activate && python3 -m pip wheel -r requirements.txt --wheel-dir=/wheels
11- RUN source env3/bin/activate && python3 -m pip install --force-reinstall --no-index --no-warn-script-location --root =/pythonroot/ /wheels/*.whl
11+ RUN source env3/bin/activate && python3 -m pip install --force-reinstall --no-index --no-warn-script-location --prefix =/pythonroot/usr /wheels/*.whl
1212
1313FROM alpine:latest as module
1414LABEL maintainer peter.amstutz@curoverse.com
You can’t perform that action at this time.
0 commit comments