Update Dockerfile
This commit is contained in:
parent
cba16c550f
commit
9c452f3346
@ -13,7 +13,7 @@ ENV user lg
|
|||||||
# echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
# echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
#USER ${user}
|
#USER ${user}
|
||||||
|
|
||||||
RUN mkdir -p /home/${user}
|
RUN mkdir -p /home/${user} && \
|
||||||
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
|
||||||
WORKDIR /home/${user}
|
WORKDIR /home/${user}
|
||||||
|
Loading…
Reference in New Issue
Block a user