Primeros pasos

esconder-usuarias
meskio 2 years ago
commit 72ad3ab8a9
Signed by: meskio
GPG Key ID: 52B8F5AC97A2DA86
  1. 26
      Dockerfile

@ -0,0 +1,26 @@
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"]
COPY --from=builder /gitea/gitea /app/gitea/gitea
RUN ln -s /app/gitea/gitea /usr/local/bin/gitea
Loading…
Cancel
Save