Skip to content

Commit aa9226e

Browse files
Copiloteeholmes
andcommitted
Fix /tmp/environment permissions for NB_USER writes
Co-authored-by: eeholmes <2545978+eeholmes@users.noreply.github.com>
1 parent 8443854 commit aa9226e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ RUN wget -qO- https://raw.githubusercontent.com/retorquere/zotero-deb/master/ins
1515

1616
# Copy the repo files into /tmp (environment/*.yml, install.R, etc)
1717
COPY . /tmp/
18+
# Fix permissions so NB_USER can write to /tmp/environment during package installs
19+
RUN chmod -R 777 /tmp/environment
1820

1921
# Update conda env sequentially to prevent hairy solve
2022
RUN /pyrocket_scripts/install-conda-packages.sh /tmp/environment/env-core1.yml || (echo "install env-core1 failed" && exit 1)

0 commit comments

Comments
 (0)