mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-25 03:55:03 +00:00
Merge branch 'krombel-release_4.14.0'
This commit is contained in:
commit
5f91c8fb39
5 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
2
cryptpad
2
cryptpad
|
@ -1 +1 @@
|
|||
Subproject commit 6de0030844c78a1574b46821dac6106d322ef6e5
|
||||
Subproject commit 0513945f00070c94b5e41cfb908cbdc36733b3f2
|
Loading…
Reference in a new issue