fuliai commited on
Commit
91b6945
·
verified ·
1 Parent(s): 781eb3c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -99,7 +99,7 @@ RUN groupadd --gid ${USER_GID} ${USERNAME} \
99
  && chown -R ${USERNAME}:${USERNAME} ${OPENVSCODE_SERVER_ROOT} \
100
  && chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}
101
 
102
- USER $USERNAME
103
 
104
  # 安装 oh-my-zsh
105
  RUN yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
 
99
  && chown -R ${USERNAME}:${USERNAME} ${OPENVSCODE_SERVER_ROOT} \
100
  && chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}
101
 
102
+ USER root
103
 
104
  # 安装 oh-my-zsh
105
  RUN yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"