You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile.aarch64 637B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. FROM multiarch/alpine:aarch64-v3.5
  2. EXPOSE 22 3000
  3. RUN apk --no-cache add \
  4. su-exec \
  5. ca-certificates \
  6. sqlite \
  7. bash \
  8. git \
  9. linux-pam \
  10. s6 \
  11. curl \
  12. openssh \
  13. tzdata
  14. RUN addgroup \
  15. -S -g 1000 \
  16. git && \
  17. adduser \
  18. -S -H -D \
  19. -h /data/git \
  20. -s /bin/bash \
  21. -u 1000 \
  22. -G git \
  23. git && \
  24. echo "git:$(dd if=/dev/urandom bs=24 count=1 status=none | base64)" | chpasswd
  25. ENV USER git
  26. ENV GITEA_CUSTOM /data/gitea
  27. COPY docker /
  28. COPY gitea /app/gitea/gitea
  29. ENV GODEBUG=netdns=go
  30. VOLUME ["/data"]
  31. ENTRYPOINT ["/usr/bin/entrypoint"]
  32. CMD ["/bin/s6-svscan", "/etc/s6"]