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 667B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. FROM alpine:3.7
  2. LABEL maintainer="The Gitea Authors"
  3. EXPOSE 22 3000
  4. RUN apk --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. gettext \
  15. tzdata
  16. RUN addgroup \
  17. -S -g 1000 \
  18. git && \
  19. adduser \
  20. -S -H -D \
  21. -h /data/git \
  22. -s /bin/bash \
  23. -u 1000 \
  24. -G git \
  25. git && \
  26. echo "git:$(dd if=/dev/urandom bs=24 count=1 status=none | base64)" | chpasswd
  27. ENV USER git
  28. ENV GITEA_CUSTOM /data/gitea
  29. ENV GODEBUG=netdns=go
  30. VOLUME ["/data"]
  31. ENTRYPOINT ["/usr/bin/entrypoint"]
  32. CMD ["/bin/s6-svscan", "/etc/s6"]
  33. COPY docker /
  34. COPY gitea /app/gitea/gitea