File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
set -ex
3
3
docker build --file=schema_salad.Dockerfile --tag=quay.io/commonwl/schema_salad .
4
4
docker 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'
6
6
7
7
# version=$(git describe --tags)
8
8
# 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
8
8
RUN source env3/bin/activate && python3 -m pip install -U pip setuptools wheel build
9
9
RUN 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
10
10
RUN 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
12
12
13
13
FROM alpine:latest as module
14
14
LABEL maintainer peter.amstutz@curoverse.com
You can’t perform that action at this time.
0 commit comments