Upgrade baseimage from buster to bullseye

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
Adrian Nöthlich 2022-09-23 17:16:09 +02:00
parent f86b39c28f
commit fdd0f5c47c
No known key found for this signature in database
GPG Key ID: 01348F55AA57C1E7
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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