Spaces:
Running
Running
ykxVK8yL5L
commited on
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -3,7 +3,7 @@ LABEL author="Lan"
|
|
3 |
LABEL email="[email protected]"
|
4 |
|
5 |
|
6 |
-
|
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
|
|
|
|
|
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" && \
|