Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -42,10 +42,9 @@ RUN code-server --install-extension /home/MS-CEINTL.vscode-language-pack-zh-hans
|
|
| 42 |
RUN git config --global user.name "Save-it"
|
| 43 |
RUN git config --global user.email "lin2011746853@outlook.com"
|
| 44 |
RUN git clone https://github.com/Save-it/cpp_competition.git /home/coder/cpp_competition
|
| 45 |
-
RUN git branch --set-upstream-to=origin/main main
|
| 46 |
RUN echo '*.exe' > /home/coder/cpp_competition/.gitignore
|
| 47 |
-
RUN git config --global credential.helper store
|
| 48 |
-
RUN echo "https://Save-it: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@github.com" > ~/.git-credentials
|
| 49 |
|
| 50 |
# 设置环境变量
|
| 51 |
ENV TZ=Asia/Shanghai
|
|
|
|
| 42 |
RUN git config --global user.name "Save-it"
|
| 43 |
RUN git config --global user.email "lin2011746853@outlook.com"
|
| 44 |
RUN git clone https://github.com/Save-it/cpp_competition.git /home/coder/cpp_competition
|
|
|
|
| 45 |
RUN echo '*.exe' > /home/coder/cpp_competition/.gitignore
|
| 46 |
+
# RUN git config --global credential.helper store
|
| 47 |
+
# RUN echo "https://Save-it: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@github.com" > ~/.git-credentials
|
| 48 |
|
| 49 |
# 设置环境变量
|
| 50 |
ENV TZ=Asia/Shanghai
|