From a3f13f257b772b5a86e27ecd5e76a5fa10c1d94a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Sat, 7 May 2022 22:15:07 -0400 Subject: [PATCH] Ajout de nextcloud custom pour LibreSign --- docker-compose.yml | 2 +- nextcloud/Dockerfile | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 nextcloud/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 8b7be85..02aecfa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,7 @@ services: restart: always app: - image: nextcloud:fpm-alpine + build: ./nextcloud restart: always volumes: - nextcloud:/var/www/html diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile new file mode 100644 index 0000000..fbf70d8 --- /dev/null +++ b/nextcloud/Dockerfile @@ -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 \ No newline at end of file