summaryrefslogtreecommitdiffstats
path: root/Dockerfile.rpi
diff options
context:
space:
mode:
authorBastian Rinsche <Memorion@users.noreply.github.com>2017-01-01 03:25:17 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-01 10:25:17 +0800
commita09a3dcabb566785208edb0df85a76c0303d4d52 (patch)
tree95bd3942ac59da7fd57f4d2db0de931e8540f6fb /Dockerfile.rpi
parentdc50c78f48f0809c657ea8cd9a034bd51e578206 (diff)
downloadgitea-a09a3dcabb566785208edb0df85a76c0303d4d52.tar.gz
gitea-a09a3dcabb566785208edb0df85a76c0303d4d52.zip
Apply dockerfile updates to raspberry dockerfile (#548)
Diffstat (limited to 'Dockerfile.rpi')
-rw-r--r--Dockerfile.rpi6
1 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile.rpi b/Dockerfile.rpi
index e1aabd6de3..e334ffc0b4 100644
--- a/Dockerfile.rpi
+++ b/Dockerfile.rpi
@@ -26,7 +26,8 @@ RUN apk update && \
-s /bin/bash \
-u 1000 \
-G git \
- git
+ git && \
+ echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd
ENV USER git
ENV GITEA_CUSTOM /data/gitea
@@ -38,7 +39,4 @@ ENTRYPOINT ["/usr/bin/entrypoint"]
CMD ["/bin/s6-svscan", "/etc/s6"]
COPY docker /
-
-COPY public /app/gitea/public
-COPY templates /app/gitea/templates
COPY gitea /app/gitea/gitea