Browse Source

Apply dockerfile updates to raspberry dockerfile (#548)

Bastian Rinsche 2 years ago
parent
commit
a09a3dcabb
1 changed files with 2 additions and 4 deletions
  1. 2 4
      Dockerfile.rpi

+ 2 - 4
Dockerfile.rpi

@@ -26,7 +26,8 @@ RUN apk update && \
26 26
     -s /bin/bash \
27 27
     -u 1000 \
28 28
     -G git \
29
-    git
29
+    git && \
30
+  echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd
30 31
 
31 32
 ENV USER git
32 33
 ENV GITEA_CUSTOM /data/gitea
@@ -38,7 +39,4 @@ ENTRYPOINT ["/usr/bin/entrypoint"]
38 39
 CMD ["/bin/s6-svscan", "/etc/s6"]
39 40
 
40 41
 COPY docker /
41
-
42
-COPY public /app/gitea/public
43
-COPY templates /app/gitea/templates
44 42
 COPY gitea /app/gitea/gitea