Mount path for development still /var/www/onlyoffice/documentserver/web-apps ?
shooding opened this issue · 1 comments
shooding commented
To mount external folders to the container, you need to pass the "-v" parameter along with the relative paths to the required folders.
The folders sdkjs and web-apps are required for proper development workflow.
During the docker build process, I saw
[git] update: sdkjs
Cloning into '/build_tools/scripts/../../sdkjs'...
remote: Enumerating objects: 304369, done.
remote: Counting objects: 100% (1139/1139), done.
and
[git] update: web-apps
Cloning into '/build_tools/scripts/../../web-apps'...
remote: Enumerating objects: 21342, done.
remote: Counting objects: 100% (666/666), done.
remote: Compressing objects: 100% (345/345), done.
remote: Total 21342 (delta 286), reused 607 (delta 264), pack-reused 20676
Receiving objects: 100% (21342/21342), 512.31 MiB | 1.76 MiB/s, done.
Resolving deltas: 100% (9737/9737), done.
which tooks really really long time, and need to start over once build process failed.
I already cloned outside container and mount with -v to the docker builder. Maybe the documentation in develop branch is tool old ?
I've wrote another Dockerfile that install the openjdk-11-jdk and jre both headless and mount pre-download
qt_source_5.9.9.tar.xz
just to avoid doing everything again.