Skip to content

Commit db1530b

Browse files
committed
[feature] Docker: resource writeable by non-root
- some environments (e.g.: some singularity deployments) run as non-root user inside the container - make 'resource/' writeable for non-root users to allow indexing
1 parent 90f4cda commit db1530b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ WORKDIR ${vpipe_path}/
3737
COPY LICENSE.md ./LICENSE.md
3838
COPY workflow ./workflow
3939
COPY resources ./resources
40+
# make 'resource/' writeable for non-root users (e.g. some singularity environments)
41+
RUN set -o pipefail && find resources/ -not -path 'resources/auxiliary_workflows*' -print0 | xargs -r0 chmod o+rwX
4042
COPY config ./config
4143
COPY utils ./utils
4244
COPY init_project.sh ./init_project.sh

0 commit comments

Comments
 (0)