Skip to content

Commit 1d8c0c5

Browse files
committed
Fix coursier cache permissions for bootcamp user
The coursier cache directory was owned by root, causing permission denied errors when the bootcamp user tried to write lock files. Changes: - Add: RUN chown -R bootcamp:bootcamp /coursier_cache - Fixes: "Permission denied" error on .structure.lock Error: /coursier_cache/.structure.lock (Permission denied)
1 parent c3fc486 commit 1d8c0c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ COPY --from=intermediate-builder /usr/local/share/jupyter/kernels/scala/ /usr/lo
6464

6565
RUN chown -R bootcamp:bootcamp /chisel-bootcamp
6666
RUN chown -R bootcamp:bootcamp /jupyter
67+
RUN chown -R bootcamp:bootcamp /coursier_cache
6768

6869
USER bootcamp
6970
WORKDIR /chisel-bootcamp

0 commit comments

Comments
 (0)