ADD file:32ff5e7a78b890996ee4681cc0a26185d3e9acdb4eb1e2aaccb2411f922fed6b in / |
CMD ["/bin/sh"] |
LABEL maintainer=maintainers@gitea.io |
EXPOSE map[22/tcp:{} 3000/tcp:{}] |
RUN /bin/sh -c apk --no-cache add bash ca-certificates curl gettext git linux-pam openssh s6 sqlite su-exec gnupg # buildkit |
RUN /bin/sh -c addgroup -S -g 1000 git && adduser -S -H -D -h /data/git -s /bin/bash -u 1000 -G git git && echo "git:*" | chpasswd -e # buildkit |
ENV USER=git |
ENV GITEA_CUSTOM=/data/gitea |
VOLUME [/data] |
ENTRYPOINT ["/usr/bin/entrypoint"] |
CMD ["/bin/s6-svscan" "/etc/s6"] |
COPY docker/root / # buildkit |
COPY /go/src/code.gitea.io/gitea/gitea /app/gitea/gitea # buildkit |
COPY /go/src/code.gitea.io/gitea/environment-to-ini /usr/local/bin/environment-to-ini # buildkit |
COPY /go/src/code.gitea.io/gitea/contrib/autocompletion/bash_autocomplete /etc/profile.d/gitea_bash_autocomplete.sh # buildkit |
RUN /bin/sh -c chmod 755 /usr/bin/entrypoint /app/gitea/gitea /usr/local/bin/gitea /usr/local/bin/environment-to-ini # buildkit |
RUN /bin/sh -c chmod 755 /etc/s6/gitea/* /etc/s6/openssh/* /etc/s6/.s6-svscan/* # buildkit |
RUN /bin/sh -c chmod 644 /etc/profile.d/gitea_bash_autocomplete.sh # buildkit |
COPY app.ini /data/gitea/conf/app.ini # buildkit |
RUN /bin/sh -c apk --no-cache add asciidoctor # buildkit |