From 145d0c1d7914ef5a47bcc613081359635d7c6150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20N=C3=B6thlich?= Date: Fri, 10 Jan 2020 16:00:12 +0100 Subject: [PATCH 1/2] Update Node to v12 in Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrian Nöthlich --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6cac1605c..55bc51ebc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # We use multi stage builds -FROM node:10-stretch-slim AS build +FROM node:12-stretch-slim AS build RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq git jq python RUN npm install -g bower @@ -16,7 +16,7 @@ RUN npm install --production \ && npm install -g bower \ && bower install --allow-root -FROM node:10-stretch-slim +FROM node:12-stretch-slim # You want USE_SSL=true if not putting cryptpad behind a proxy ENV USE_SSL=false From 2116e46cddd2a28ebd6c3bedab7270df4de8a0e4 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 11 Jan 2020 13:45:24 +0100 Subject: [PATCH 2/2] Added missing curl --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 55bc51ebc..dcb07cf07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # We use multi stage builds FROM node:12-stretch-slim AS build -RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq git jq python +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq git jq python curl RUN npm install -g bower # install tini in this stage to avoid the need of jq and python