Browse Source

Verify openpgp signature

master
meskio 4 months ago
parent
commit
03b2f3a8f8
Signed by: meskio <meskio@sindominio.net> GPG Key ID: 52B8F5AC97A2DA86
2 changed files with 114 additions and 6 deletions
  1. +15
    -6
      Dockerfile
  2. +99
    -0
      gitea-key.asc

+ 15
- 6
Dockerfile View File

@@ -5,9 +5,16 @@ 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
golang nodejs npm make build-essential jq gnupg curl

RUN git clone https://github.com/go-gitea/gitea /gitea
COPY gitea-key.asc /key.asc
RUN TGZ=`curl -s https://api.github.com/repos/go-gitea/gitea/releases/latest |jq -r '.assets[].browser_download_url' | grep 'src.*\.tar\.gz$'` && \
curl -L ${TGZ} > /gitea.tar.gz && \
curl -L ${TGZ}.asc > /gitea.tar.gz.asc && \
gpg --import /key.asc && \
gpg --verify /gitea.tar.gz.asc /gitea.tar.gz && \
mkdir /gitea && cd /gitea && \
tar xvzf /gitea.tar.gz

WORKDIR /gitea

@@ -19,11 +26,13 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl gettext git

COPY --from=builder /gitea/gitea /app/gitea/gitea
RUN ln -s /app/gitea/gitea /usr/local/bin/gitea && \
ln -s /data /app/gitea/data

VOLUME ["/data"]
ENTRYPOINT ["/app/gitea/gitea"]
ENV GITEA_CUSTOM /data
ENV HOME /data

COPY --from=builder /gitea/gitea /app/gitea/gitea
RUN ln -s /app/gitea/gitea /usr/local/bin/gitea && \
ln -s /data /app/gitea/data
ENTRYPOINT ["/app/gitea/gitea"]
CMD ["web", "-c", "/data/conf/app.ini"]

+ 99
- 0
gitea-key.asc View File

@@ -0,0 +1,99 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFsvDSkBEADtyFKGhQ/sh9KmVAzivJfMGbasytWkZNdIrwCoxSTEijl2QLyi
E8b5xEOK2+9b3OXF+N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