File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,13 @@ ENV CONDA_DIR=/opt/conda \
41
41
ENV PATH=$CONDA_DIR/bin:$PATH \
42
42
HOME=/home/$NB_USER
43
43
44
+ # Add a script that we will use to correct permissions after running certain commands
44
45
ADD fix-permissions /usr/local/bin/fix-permissions
45
- # Create jovyan user with UID=1000 and in the 'users' group
46
+
47
+ # Enable prompt color in the skeleton .bashrc before creating the default NB_USER
48
+ RUN sed -i 's/^#force_color_prompt=yes/force_color_prompt=yes/' /etc/skel/.bashrc
49
+
50
+ # Create NB_USER wtih name jovyan user with UID=1000 and in the 'users' group
46
51
# and make sure these dirs are writable by the `users` group.
47
52
RUN groupadd wheel -g 11 && \
48
53
echo "auth required pam_wheel.so use_uid" >> /etc/pam.d/su && \
You can’t perform that action at this time.
0 commit comments