Reoder && clean

master
Siroco 1 year ago
parent 3bc35e53a3
commit bc4d5a8888
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 4
      Dockerfile

@ -6,6 +6,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends make build-essential jq gnupg curl nodejs npm wget
## Install Go 1.17 via Go web
RUN wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz && \
echo "dab7d9c34361dc21ec237d584590d72500652e7c909bf082758fb63064fca0ef go1.17.1.linux-amd64.tar.gz" > go.checksum && \
sha256sum -c go.checksum && \
@ -16,6 +17,9 @@ RUN wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz && \
RUN ln -s /usr/local/go/bin/go /usr/bin/go
# Install 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 && \

Loading…
Cancel
Save