Update Dockerfile
Browse files- 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
|
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)"
|