From 28736e31bae6e4bd0f01fad1d3694f2e948be283 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 2 Aug 2021 14:09:37 -0700 Subject: [PATCH] Use nodejs 14 According to upstream gitea nodejs 16 has broken them and there isn't much they can do other than using nodejs 14 for the moment. Use 14 in our image builds to keep our dockerfile buildable. See https://github.com/go-gitea/gitea/issues/16604 for more info. Change-Id: I143c3e67f354d220614136905e8b598cd6d2ad61 --- docker/gitea/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/gitea/Dockerfile b/docker/gitea/Dockerfile index 4c433491a9..2122e2b1b1 100644 --- a/docker/gitea/Dockerfile +++ b/docker/gitea/Dockerfile @@ -32,7 +32,7 @@ ENV TAGS "bindata $TAGS" #Build deps RUN apt-get update && apt-get -y install build-essential git apt-transport-https curl gnupg2 \ && curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \ - && echo "deb https://deb.nodesource.com/node_16.x buster main" | tee /etc/apt/sources.list.d/nodesource.list \ + && echo "deb https://deb.nodesource.com/node_14.x buster main" | tee /etc/apt/sources.list.d/nodesource.list \ && apt-get update \ && apt-get -q --option "Dpkg::Options::=--force-confold" --assume-yes install nodejs \ && mkdir -p ${GOPATH}/src/code.gitea.io/gitea