ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca 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 && rm -rf /var/cache/apk/* # 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 /tmp/local / # 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 |