Skip to content

Commit 934e088

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 934e088

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ 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+
# hadolint ignore=DL4006
42+
RUN find resources/ -not -path 'resources/auxiliary_workflows*' -print0 | xargs -r0 chmod o+rwX
4043
COPY config ./config
4144
COPY utils ./utils
4245
COPY init_project.sh ./init_project.sh

0 commit comments

Comments
 (0)