egeloen / IvoryCKEditorBundle

Provides a CKEditor integration for your Symfony project.
MIT License
336 stars 114 forks source link

database error on install #344

Closed vixns closed 6 years ago

vixns commented 6 years ago

We are packaging a symfony application in a Docker container. This bundle cannot install ckeditor during the build phase because of a database dependency.

So we have to install ckeditor at runtime. It works, but that's really ugly.

bin/console ckeditor:install should not depend on a database connection.

vixns commented 6 years ago

Fixed, was about cache dir creation, you have to run bin/console once to create the cache dir hierarchy, then ckeditor:install works.

RUN  sh -c "bin/console --env=prod 2>&1 > /dev/null || true" \
&& bin/console ckeditor:install --release=full --exclude=samples --exclude=adapters --clear=drop --tag=4.8.0 --env=prod --no-interaction --quiet