Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

Dockerfile.rpi 675B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. FROM hypriot/rpi-alpine-scratch:v3.4
  2. MAINTAINER Thomas Boerger <thomas@webhippie.de>
  3. EXPOSE 22 3000
  4. RUN apk -U --no-cache add \
  5. su-exec \
  6. ca-certificates \
  7. sqlite \
  8. bash \
  9. git \
  10. linux-pam \
  11. s6 \
  12. curl \
  13. openssh \
  14. tzdata
  15. RUN addgroup
  16. -S -g 1000 \
  17. git && \
  18. adduser \
  19. -S -H -D \
  20. -h /data/git \
  21. -s /bin/bash \
  22. -u 1000 \
  23. -G git \
  24. git && \
  25. echo "git:$(date +%s | sha256sum | base64 | head -c 32)" | chpasswd
  26. ENV USER git
  27. ENV GITEA_CUSTOM /data/gitea
  28. ENV GODEBUG=netdns=go
  29. VOLUME ["/data"]
  30. ENTRYPOINT ["/usr/bin/entrypoint"]
  31. CMD ["/bin/s6-svscan", "/etc/s6"]
  32. COPY docker /
  33. COPY gitea /app/gitea/gitea