From 850a88684525135d9a405b30d4203b89432e63cc Mon Sep 17 00:00:00 2001 From: l1shen Date: Tue, 17 Dec 2024 16:29:52 +0800 Subject: [PATCH] fix: disable ohmyzsh auto update --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8c1d94e..95f03ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,7 +65,8 @@ ENV PATH="/usr/lib/wsl/lib/:${PATH}" # save PATH # without \$PATH the $PATH will be lost sometime or not be inherited after exec -RUN echo "export PATH=${PATH}:\$PATH" >> $HOME/.zshrc +RUN echo "export PATH=${PATH}:\$PATH" >> $HOME/.zshrc && \ + echo "DISABLE_AUTO_UPDATE=true" >> $HOME/.zshrc # set font COPY ./fonts/* /usr/share/fonts/SourceHanSans/