We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c4eaa7 + 81513b0 commit 035574bCopy full SHA for 035574b
repo2docker/buildpacks/base.py
@@ -113,6 +113,7 @@
113
ARG REPO_DIR=${HOME}
114
ENV REPO_DIR ${REPO_DIR}
115
WORKDIR ${REPO_DIR}
116
+RUN chown ${NB_USER}:${NB_USER} ${REPO_DIR}
117
118
# We want to allow two things:
119
# 1. If there's a .local/bin directory in the repo, things there
tests/conda/repo-path/verify
@@ -13,5 +13,8 @@ assert sys.executable.startswith("/srv/conda/"), sys.executable
13
assert os.path.exists("/srv/repo/verify")
14
assert os.path.abspath(__file__) == "/srv/repo/verify"
15
16
+# Repo should be writable
17
+assert os.access("/srv/repo", os.W_OK)
18
+
19
# We should be able to import the package in environment.yml
20
import numpy
0 commit comments