forked from FCP-INDI/C-PAC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariant-ABCD-HCP.Dockerfile
More file actions
26 lines (22 loc) · 922 Bytes
/
variant-ABCD-HCP.Dockerfile
File metadata and controls
26 lines (22 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM ghcr.io/fcp-indi/c-pac/stage-base:abcd-hcp-v1.8.5.dev
LABEL org.opencontainers.image.description "Full C-PAC image with software dependencies version-matched to [ABCD-HCP BIDS fMRI Pipeline](https://github.com/DCAN-Labs/abcd-hcp-pipeline/blob/e480a8f99534f1b05f37bf44c64827384b69b383/Dockerfile)"
USER root
# install C-PAC
COPY dev/circleci_data/pipe-test_ci.yml /cpac_resources/pipe-test_ci.yml
COPY . /code
RUN pip install -e /code
# set up runscript
COPY dev/docker_data /code/docker_data
RUN rm -Rf /code/docker_data/Dockerfiles && \
mv /code/docker_data/* /code && \
rm -Rf /code/docker_data && \
chmod +x /code/run.py && \
chmod +x /code/run-with-freesurfer.sh
ENTRYPOINT ["/code/run-with-freesurfer.sh"]
# Link libraries for Singularity images
RUN ldconfig
RUN apt-get clean && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# set user
# USER c-pac_user