mirror of https://github.com/xwiki-labs/cryptpad
Install dependencies of install-onlyoffice.sh in Dockerfile
This commit is contained in:
parent
5bf65cfbdb
commit
5119901fb8
|
@ -22,14 +22,15 @@ RUN npm install --production \
|
|||
# Create actual CryptPad image
|
||||
FROM node:lts-slim
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt update && apt install -y git rdfind && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create user and group for CryptPad so it does not run as root
|
||||
RUN groupadd cryptpad -g 4001
|
||||
RUN useradd cryptpad -u 4001 -g 4001 -d /cryptpad
|
||||
|
||||
# Install wget for healthcheck
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y wget && \
|
||||
# Install git, rdfind, unzip and curl for install-onlyoffice.sh
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
wget git rdfind curl unzip ca-certificates && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
Loading…
Reference in New Issue