Ajout de nextcloud custom pour LibreSign

This commit is contained in:
François Pelletier 2022-05-07 22:15:07 -04:00
parent c92c5684d7
commit a3f13f257b
2 changed files with 9 additions and 1 deletions

View file

@ -14,7 +14,7 @@ services:
restart: always
app:
image: nextcloud:fpm-alpine
build: ./nextcloud
restart: always
volumes:
- nextcloud:/var/www/html

8
nextcloud/Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM nextcloud:fpm-alpine
# Install Java and JsignPDF
RUN mkdir -p /usr/share/man/man1
RUN apt-get install -y default-jre unzip
RUN curl -OL https://sourceforge.net/projects/jsignpdf/files/stable/JSignPdf%202.1.0/jsignpdf-2.1.0.zip \
&& unzip jsignpdf-2.1.0.zip -d /opt \
&& rm jsignpdf-2.1.0.zip