File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed
Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:22.04
2+
3+ RUN apt-get update && \
4+ apt-get install -y --no-install-recommends \
5+ ca-certificates \
6+ bzip2 \
7+ curl \
8+ && apt-get clean \
9+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
10+
11+
12+ # Create a shared $HOME directory
13+ RUN useradd -m -s /bin/bash -G users babs
14+ WORKDIR /home/babs
15+ ENV HOME="/home/babs"
16+
17+ WORKDIR /
18+ RUN echo "2024.04.11"
19+ RUN curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
20+
21+ COPY docker/environment.yml /tmp/environment.yml
22+ ENV MAMBA_ROOT_PREFIX="/opt/conda" \
23+ MAMBA_NO_LOW_SPEED_LIMIT=1 \
24+ PIP_DEFAULT_TIMEOUT=100
25+
26+ RUN micromamba config set extract_threads 1 \
27+ && micromamba create -vv -y -f /tmp/environment.yml \
28+ && micromamba clean -y -a
29+
30+ ENV PATH=/opt/conda/envs/babs/bin:$PATH
31+
32+ # Configure the git user name and email
33+ RUN git config --global user.name "CircleCI" \
34+ && git config --global user.email "circleci@example.com"
35+
36+ # install BABS
37+ COPY . $HOME/babs
38+ WORKDIR $HOME/babs
39+ RUN pip install .[tests]
40+
41+ # # pytest BABS
42+ # RUN pytest ~/babs
Original file line number Diff line number Diff line change 1+ name : babs
2+ channels :
3+ - conda-forge
4+ dependencies :
5+ - apptainer
6+ - git
7+ - git-annex
8+ - pip
9+ - python=3.11
10+ - pip :
11+ - backoff
12+ - coverage
13+ - datalad >= 0.17.2
14+ - datalad_container >= 1.1.6
15+ - filelock >= 3.8.0
16+ - jinja2
17+ - nibabel
18+ - numpy
19+ - pandas
20+ - pyyaml >= 6.0
21+ - qstat >= 0.0.5
22+ - regex
23+ - tqdm
24+ - pytest
25+ - pytest-cov==5.0.0
26+ - pytest-env==1.1.3
You can’t perform that action at this time.
0 commit comments