From fcf00761d3c07a6623918fc6a3ad497feb39e5a2 Mon Sep 17 00:00:00 2001 From: Matthias Kesler Date: Wed, 20 Apr 2022 16:30:18 +0200 Subject: [PATCH] Update to 4.14.0 Updates to node 16 following release notes suggestions --- Dockerfile | 4 ++-- Dockerfile-alpine | 4 ++-- Dockerfile-nginx | 4 ++-- Dockerfile-nginx-alpine | 4 ++-- cryptpad | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44e6283..8ba038b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Multistage build to reduce image size and increase security -FROM node:12-buster-slim AS build +FROM node:16-buster-slim AS build # Install requirements to clone repository and install deps RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq git @@ -21,7 +21,7 @@ RUN npm install --production \ && bower install --allow-root # Create actual cryptpad image -FROM node:12-buster-slim +FROM node:16-buster-slim # Create user and group for cryptpad so it does not run as root RUN groupadd cryptpad -g 4001 diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 5d3ae7e..9c6b998 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,5 +1,5 @@ # Multistage build to reduce image size and increase security -FROM node:12-alpine AS build +FROM node:16-alpine AS build # Install requirements to clone repository and install deps RUN apk add --no-cache git @@ -21,7 +21,7 @@ RUN npm install --production \ && bower install --allow-root # Create actual cryptpad image -FROM node:12-alpine +FROM node:16-alpine # Create user and group for cryptpad so it does not run as root RUN addgroup -g 4001 -S cryptpad \ diff --git a/Dockerfile-nginx b/Dockerfile-nginx index b004a40..b0dbad1 100644 --- a/Dockerfile-nginx +++ b/Dockerfile-nginx @@ -1,6 +1,6 @@ # Multistage build to reduce image size and increase security -FROM node:12-buster-slim AS build +FROM node:16-buster-slim AS build # Install requirements to clone repository and install deps RUN apt-get update \ @@ -18,7 +18,7 @@ RUN npm install --production \ && bower install --allow-root # Create actual cryptpad image -FROM node:12-buster-slim +FROM node:16-buster-slim RUN set -x \ # Create users and groups for cryptpad diff --git a/Dockerfile-nginx-alpine b/Dockerfile-nginx-alpine index d8cf6bd..d5965e1 100644 --- a/Dockerfile-nginx-alpine +++ b/Dockerfile-nginx-alpine @@ -1,6 +1,6 @@ # Multistage build to reduce image size and increase security -FROM node:12-alpine AS build +FROM node:16-alpine AS build # Install requirements to clone repository and install deps RUN apk add --no-cache git \ @@ -17,7 +17,7 @@ RUN npm install --production \ && bower install --allow-root # Create actual cryptpad image -FROM node:12-alpine +FROM node:16-alpine RUN set -x \ # Create users and groups for nginx and cryptpad diff --git a/cryptpad b/cryptpad index 0b78295..0513945 160000 --- a/cryptpad +++ b/cryptpad @@ -1 +1 @@ -Subproject commit 0b78295460114c9398bd5792d7b8037e51e7079d +Subproject commit 0513945f00070c94b5e41cfb908cbdc36733b3f2