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.
|
|
|
FROM registry.sindominio.net/debian as builder
|
|
|
|
|
|
|
|
ARG TAGS="bindata"
|
|
|
|
|
|
|
|
RUN echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list && \
|
|
|
|
apt-get update && \
|
|
|
|
apt-get install -y --no-install-recommends -t buster-backports \
|
|
|
|
golang git nodejs npm make build-essential
|
|
|
|
|
|
|
|
RUN git clone https://github.com/go-gitea/gitea /gitea
|
|
|
|
|
|
|
|
WORKDIR /gitea
|
|
|
|
|
|
|
|
RUN make clean-all build
|
|
|
|
|
|
|
|
FROM registry.sindominio.net/debian
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
curl gettext git
|
|
|
|
|
|
|
|
VOLUME ["/data"]
|
|
|
|
ENTRYPOINT ["/app/gitea/gitea"]
|
|
|
|
ENV GITEA_CUSTOM /data
|
|
|
|
|
|
|
|
COPY --from=builder /gitea/gitea /app/gitea/gitea
|
|
|
|
RUN ln -s /app/gitea/gitea /usr/local/bin/gitea
|