Skip to content

Commit

Permalink
Remove cfssl and java dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vitormattos committed Feb 6, 2022
1 parent db6a2ae commit 4ab5654
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
7 changes: 0 additions & 7 deletions .docker/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ RUN echo "source ${NVM_DIR}/nvm.sh" > $HOME/.bashrc

COPY --from=composer /usr/bin/composer /usr/bin/composer

# Install Java and JsignPDF
RUN mkdir -p /usr/share/man/man1
RUN apt-get install -y default-jre
RUN curl -OL https://sourceforge.net/projects/jsignpdf/files/stable/JSignPdf%20${VERSION_JSIGNPDF}/jsignpdf-${VERSION_JSIGNPDF}.zip \
&& unzip jsignpdf-${VERSION_JSIGNPDF}.zip -d /opt \
&& rm jsignpdf-${VERSION_JSIGNPDF}.zip

RUN mkdir -p /cfssl ; chown -R www-data:www-data /cfssl
VOLUME /cfssl

Expand Down
1 change: 1 addition & 0 deletions .docker/app/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ if [[ ! -f "config/config.php" && ${AUTOINSTALL} -eq 1 ]]; then
runuser -u www-data -- php occ maintenance:install --verbose --database=mysql --database-name=${MYSQL_DATABASE} --database-host=${MYSQL_HOST} --database-port= --database-user=${MYSQL_USER} --database-pass=${MYSQL_PASSWORD} --admin-user=${NEXTCLOUD_ADMIN_USER} --admin-pass=${NEXTCLOUD_ADMIN_PASSWORD} --admin-email=${NEXTCLOUD_ADMIN_EMAIL}
fi
runuser -u www-data -- php occ config:system:set default_phone_region ${DEFAULT_PHONE_REGION}
runuser -u www-data -- php occ config:system:set --value=1 allow_local_remote_servers
fi
php-fpm
11 changes: 0 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,3 @@ services:
- ${MAILHOG_PORT}:8025
redis:
image: redis
cfssl:
image: cfssl/cfssl
volumes:
- ./volumes/cfssl:/cfssl
working_dir: /cfssl
entrypoint: /bin/bash
ports:
- 8888:8888
command:
- /cfssl/entrypoint.sh

0 comments on commit 4ab5654

Please sign in to comment.