ykxVK8yL5L commited on
Commit
0923119
1 Parent(s): ff00841

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -3,7 +3,7 @@ LABEL author="Lan"
3
  LABEL email="[email protected]"
4
 
5
 
6
- #RUN chmod -R 777 /etc
7
  RUN chmod 777 /etc/timezone
8
 
9
  RUN useradd -m -u 1000 user
@@ -11,7 +11,9 @@ USER user
11
  ENV PATH="/home/user/.local/bin:$PATH"
12
 
13
 
14
- RUN apt-get install --no-install-recommends -y git \
 
 
15
  echo "Asia/Shanghai" >/etc/timezone && \
16
  git config --global user.email "filecodebox@@users.noreply.github.com" && \
17
  git config --global user.name "filecodebox" && \
 
3
  LABEL email="[email protected]"
4
 
5
 
6
+ RUN chmod -R 777 /var
7
  RUN chmod 777 /etc/timezone
8
 
9
  RUN useradd -m -u 1000 user
 
11
  ENV PATH="/home/user/.local/bin:$PATH"
12
 
13
 
14
+ RUN RUN set -x && \
15
+ apt-get update && \
16
+ apt-get install --no-install-recommends -y git && \
17
  echo "Asia/Shanghai" >/etc/timezone && \
18
  git config --global user.email "filecodebox@@users.noreply.github.com" && \
19
  git config --global user.name "filecodebox" && \