20 lines
854 B
Docker
20 lines
854 B
Docker
# tea-verify: the team's dask image plus what the tea verification needs.
|
|
# Built from the local checkout (submodules included) by deploy/verify.sh.
|
|
FROM 192.168.20.18:5000/dask:1.1
|
|
|
|
# missing from dask:1.1; versions as checked locally
|
|
RUN pip install --no-cache-dir "antropy==0.2.3" "fhir.resources==8.3.0" "meegkit==0.2.0" pytest
|
|
|
|
# tea from the local checkout (biomarcadores-tea @ 7dfc641, codigo @ c7a4736:
|
|
# the legacy = submodule tests need them). .dockerignore keeps .venv, eeg/ and any
|
|
# signal or patient file out of the build context.
|
|
COPY . /opt/tea
|
|
ARG TEA_COMMIT=unknown
|
|
ENV TEA_COMMIT=$TEA_COMMIT
|
|
LABEL tea.commit=$TEA_COMMIT
|
|
RUN pip install --no-cache-dir --no-deps -e /opt/tea
|
|
WORKDIR /opt/tea
|
|
# verification/ (cluster checks) is not in the package: import it from the checkout,
|
|
# on the runner and on the workers
|
|
ENV PYTHONPATH=/opt/tea
|