Skip to content

Commit

Permalink
⬇️ Keep nitransforms <24.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shnizzedy committed Sep 6, 2024
1 parent 9ff08f8 commit d639215
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/Dockerfiles/c-pac_api.latest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

# You should have received a copy of the GNU Lesser General Public
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
FROM ghcr.io/fcp-indi/c-pac/ubuntu:jammy-non-free as src
LABEL org.opencontainers.image.description "NOT INTENDED FOR USE OTHER THAN AS A DRY-RUN TESTING IMAGE \
FROM ghcr.io/fcp-indi/c-pac/ubuntu:jammy-non-free AS src
LABEL org.opencontainers.image.description="NOT INTENDED FOR USE OTHER THAN AS A DRY-RUN TESTING IMAGE \
Dry-run C-PAC latest API."
LABEL org.opencontainers.image.source https://github.com/FCP-INDI/cpac
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/cpac
USER root
COPY --from=fcpindi/c-pac:latest /code /code
RUN mkdir -p /home/user/c-pac_user \
Expand All @@ -29,10 +29,10 @@ RUN mkdir -p /home/user/c-pac_user \
python3.10 \
python-is-python3 \
&& rm -rf /var/lib/apt/lists/*
ENV PYTHONUSERBASE=/home/c-pac_user/.local
ENV PATH=$PATH:/home/c-pac_user/.local/bin \
ENV PYTHONUSERBASE=/home/user/c-pac_user/.local
ENV PATH=$PATH:/home/user/c-pac_user/.local/bin \
PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages
USER c-pac_user
RUN pip install -r /code/requirements.txt && pip install --user /code
RUN pip install "nitransforms>=21.0.0,<24.0.0" && pip install -r /code/requirements.txt && pip install --user /code
ENV FSLDIR="/FSLDIR"
ENTRYPOINT [ "/code/run.py" ]
8 changes: 4 additions & 4 deletions .github/Dockerfiles/c-pac_api.nightly.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

# You should have received a copy of the GNU Lesser General Public
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
FROM ghcr.io/fcp-indi/c-pac/ubuntu:jammy-non-free as src
LABEL org.opencontainers.image.description "NOT INTENDED FOR USE OTHER THAN AS A DRY-RUN TESTING IMAGE \
FROM ghcr.io/fcp-indi/c-pac/ubuntu:jammy-non-free AS src
LABEL org.opencontainers.image.description="NOT INTENDED FOR USE OTHER THAN AS A DRY-RUN TESTING IMAGE \
Dry-run C-PAC nightly API."
LABEL org.opencontainers.image.source https://github.com/FCP-INDI/cpac
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/cpac
USER root
COPY --from=fcpindi/c-pac:nightly /code /code
RUN mkdir -p /home/user/c-pac_user \
Expand All @@ -33,6 +33,6 @@ ENV PYTHONUSERBASE=/home/c-pac_user/.local
ENV PATH=$PATH:/home/c-pac_user/.local/bin \
PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages
USER c-pac_user
RUN pip install -r /code/requirements.txt && pip install --user /code
RUN pip install "nitransforms>=21.0.0,<24.0.0" && pip install -r /code/requirements.txt && pip install --user /code
ENV FSLDIR="/FSLDIR"
ENTRYPOINT [ "/code/CPAC/_entrypoints/run.py" ]
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Usage
cpac -B /path/to/data/configs:/configs \
--image fcpindi/c-pac --tag latest \
run /path/to/data /path/for/outputs \
--data_config_file /configs/data_config.yml \
--data_config_file /configs/data_config.yaml \
--save_working_dir
Each command can take "--help" to provide additonal usage information, e.g.,
Expand Down Expand Up @@ -88,7 +88,7 @@ Usage
gradients Run ba_timeseries_gradients. See
"cpac [--platform "{docker,singularity}] gradients --help"
for more information.
tsconcat Run ba-tsconcat (*)
tsconcat Run ba-tsconcat (<0.2.0,>=0.1.2)
pull (upgrade) Upgrade your local C-PAC version to the latest version
by pulling from Docker Hub or other repository.
Use with "--image" and/or "--tag" to specify an image
Expand Down

0 comments on commit d639215

Please sign in to comment.