Browse Source

Fix: Move Node and NPM to bullseye repo and force golang1.16 on backports bullseye

master
Siroco 8 months ago
parent
commit
6e3e60a52d
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 9
      Dockerfile

9
Dockerfile

@ -3,11 +3,10 @@ FROM registry.sindominio.net/debian as builder
ARG TAGS="bindata"
RUN echo "deb http://deb.debian.org/debian bullseye-backports main contrib non-free" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y --no-install-recommends \
make build-essential jq gnupg curl && \
apt-get install -y --no-install-recommends -t bullseye-backports nodejs npm golang
apt-get update
RUN apt-get install -y --no-install-recommends -t bullseye-backports golang-1.16/bullseye-backports
RUN apt-get install -y --no-install-recommends \
make build-essential jq gnupg curl nodejs npm
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