fix: resolve the sudo problem.
This commit is contained in:
parent
2f772b50f8
commit
616308bcbf
@ -12,7 +12,7 @@ RUN \
|
||||
RUN \
|
||||
addgroup notebook &&\
|
||||
adduser -Ss /bin/bash -g notebook notebook &&\
|
||||
adduser notebook sudo &&\
|
||||
echo "notebook ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
|
||||
echo "notebook:123456" | chpasswd &&\
|
||||
chown -R notebook:notebook . &&\
|
||||
mkdir /data &&\
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user