From fdd0f5c47c52c2badb8414d38cd0f2520a383eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20N=C3=B6thlich?= Date: Fri, 23 Sep 2022 17:16:09 +0200 Subject: [PATCH] Upgrade baseimage from buster to bullseye MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrian Nöthlich --- Dockerfile | 4 ++-- Dockerfile-nginx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ba038b..aa7e897 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Multistage build to reduce image size and increase security -FROM node:16-buster-slim AS build +FROM node:16-bullseye-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:16-buster-slim +FROM node:16-bullseye-slim # Create user and group for cryptpad so it does not run as root RUN groupadd cryptpad -g 4001 diff --git a/Dockerfile-nginx b/Dockerfile-nginx index b0dbad1..8d35e36 100644 --- a/Dockerfile-nginx +++ b/Dockerfile-nginx @@ -1,6 +1,6 @@ # Multistage build to reduce image size and increase security -FROM node:16-buster-slim AS build +FROM node:16-bullseye-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:16-buster-slim +FROM node:16-bullseye-slim RUN set -x \ # Create users and groups for cryptpad