Skip to content

Commit 654be04

Browse files
committed
set permissions on repo_dir prior to preassemble
1 parent 3da5543 commit 654be04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

repo2docker/buildpacks/base.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@
132132
{% endfor -%}
133133
{% endif -%}
134134
135+
{% if preassemble_script_directives -%}
136+
RUN chown -R ${NB_USER}:${NB_USER} ${REPO_DIR}
137+
{% endif -%}
138+
135139
{% for sd in preassemble_script_directives -%}
136140
{{ sd }}
137141
{% endfor %}

0 commit comments

Comments
 (0)