Apply dockerfile updates to raspberry dockerfile (#548)

This commit is contained in:
Bastian Rinsche 2017-01-01 03:25:17 +01:00 committed by Lunny Xiao
parent dc50c78f48
commit a09a3dcabb

View File

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