3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

43 commits

Author SHA1 Message Date
Michael Stenta
2656e0e786 Exclude Drupal.Arrays.Array.LongLineDeclaration sniff. 2020-09-25 09:19:50 -04:00
Michael Stenta
b2aace5af6 Remove Uploadprogress. It is causing AH00051: child pid 27 exit signal Segmentation fault (11), possible coredump in /etc/apache2 2020-09-24 21:37:00 -04:00
Michael Stenta
feb562c4aa Fix Uploadprogress is breaking farmos/farmos:7.x-1.x Docker image build #350 2020-09-24 13:44:58 -04:00
Michael Stenta
c4ddf812bd Set OPcache's revalidation frequency to 0 seconds for development. 2020-08-20 16:32:40 -04:00
Michael Stenta
85e0fab939 Set recommended OPcache for maximum performance in Symfony applications. 2020-08-20 16:32:40 -04:00
Michael Stenta
cf816e4fe8 Fix support for tagged versions in build-farmOS.sh.
Broken by 2ede85eee6 "Fix dev Dockerfile composer.json farmOS branch replacement."
2020-08-19 21:00:35 -04:00
Michael Stenta
06d0b9628d Exclude PHP CodeSniffer rule: Drupal.InfoFiles.AutoAddedKeys.Version CodeSniffer
We intentionally include the version in farm.info.yml, and
replace it ourselves during packaging via GitHub Actions.
2020-08-19 16:31:03 -04:00
Michael Stenta
beeb044cd0 Configure PHP CodeSniffer in Docker dev image and document usage. 2020-08-19 16:31:03 -04:00
Michael Stenta
21952d0dbc Create a Composer config directory for the www-data user. 2020-08-12 13:33:45 -04:00
Michael Stenta
9a5b24158b Run build-farmOS.sh as the www-data user to avoid expensive chown later. 2020-08-12 12:58:55 -04:00
Michael Stenta
c2ede11ee9 Install XDebug earlier in the farmos/farmos:2.x-dev build process. 2020-08-12 12:58:48 -04:00
Michael Stenta
aabadf26ad Consolidate Composer install logic into a build-farmOS.sh script. 2020-08-12 12:58:33 -04:00
Michael Stenta
cea64ad078 Build farmOS codebase as root. Change ownership of sites to www-data in farmos/farmos:2.x. Change ownership of entire codebase to www-data in dev. 2020-08-12 12:53:06 -04:00
Michael Stenta
07fed82f23 Merge farmos/farmos:2.x-base Dockerfile into farmos/farmos:2.x. 2020-08-12 12:50:15 -04:00
Michael Stenta
8275315895 Issue #3162686: Build farmos/farmos:2.x Docker image with composer install --no-dev 2020-08-12 12:48:05 -04:00
Michael Stenta
2ab25cd808 Issue #3162767: Use Docker Hub drupal:9 base image 2020-08-12 12:48:05 -04:00
Michael Stenta
ef09c1fd82 Move codebase to /opt/drupal, symlink /var/www/html to /opt/drupal/web, don't override Apache document root. All to mimic upstream drupal:9 image. 2020-08-12 12:48:05 -04:00
Michael Stenta
78b94b9f02 Update comment in docker-entrypoint.sh to explicitly reference bind-mounts (as opposed to mounted volumes). 2020-08-12 12:47:58 -04:00
Michael Stenta
d69c81819a Fix 2.x-dev builds. Composer expects [master-branch]-dev and dev-[non-master-branch]!
https://getcomposer.org/doc/articles/aliases.md
2020-08-12 12:47:58 -04:00
Michael Stenta
0ebb834c82 Fix "No such file or directory" errors in docker-entrypoint.sh. 2020-08-12 12:47:58 -04:00
Michael Stenta
e7b55d95ff Maintain ownership when copying /var/farmOS to /var/www/html. 2020-08-12 12:47:58 -04:00
Michael Stenta
26c004d6a1 Build farmOS in /var/farmOS instead of /var/www/farmOS. 2020-08-12 12:47:58 -04:00
Michael Stenta
f3a7e88529 Apache rewrite module is enabled in drupal:8 upstream image. 2020-08-11 15:47:42 -04:00
Michael Stenta
2ede85eee6 Fix dev Dockerfile composer.json farmOS branch replacement. 2020-08-04 15:23:48 -04:00
Michael Stenta
0e0e12303f Fix @todo in docker/Dockerfile. 2020-07-31 15:19:55 -04:00
Michael Stenta
9b142a39ba Allow the www-data user/group IDs to be set via build arg. 2020-07-31 13:10:03 -04:00
Michael Stenta
464b5373dc Allow the farmOS and Composer project repositories and versions to be set with build arguments. 2020-07-31 13:10:03 -04:00
Michael Stenta
c00ed4b518 Change development branch from 2.0.x to 2.x. 2020-06-05 10:09:37 -04:00
Michael Stenta
062ca7c290 Change the user/group IDs of www-data to 1000 within the dev Docker image. 2020-06-05 10:09:37 -04:00
Michael Stenta
843a17be88 Set the COMPOSER_MEMORY_LIMIT environment variable to unlimited in dev Docker image. 2020-06-03 15:42:20 -04:00
Michael Stenta
c2582376a6 Configure PHPUnit. 2020-04-28 19:06:28 -04:00
Michael Stenta
cfa076c024 Change the workdir to /var/www/farmOS during Composer operations. 2020-04-28 00:35:24 -04:00
Michael Stenta
1be8332084 Run composer create-project as the www-data user to avoid expensive chown later. 2020-04-27 15:37:00 -04:00
Michael Stenta
07b614c83f Create the /var/www/farmOS directory in 2.0.x-base. 2020-04-27 15:37:00 -04:00
Michael Stenta
c42d4f33f7 Use a multi-stage build to create the default 2.0.x image with the prebuilt farmOS codebase from 2.0.x-dev, but without Composer and other dev tools. 2020-04-27 15:27:55 -04:00
Michael Stenta
6562eb983e Extend the farmOS dev image from 2.0.x-base, install Composer, and build the farmOS codebase. 2020-04-27 15:27:55 -04:00
Michael Stenta
e860ce873f Provide a "base" Dockerfile that includes all of farmOS's dependencies, but does not include Composer or farmOS itself. 2020-04-27 15:27:55 -04:00
Michael Stenta
8a7070662b Add more information about the volume mounts for development and production Docker containers. 2020-04-27 15:27:55 -04:00
Michael Stenta
104358eb72 Add and document example docker-compose.yml files. 2020-04-27 15:27:55 -04:00
Michael Stenta
e3d1d381b0 Provide a dev Dockerfile that adds XDebug. 2020-04-27 15:27:55 -04:00
Michael Stenta
9a82f5323b Refactor docker-entrypoint.sh so that it can populate mounted volumes of the whole codebase or just the sites directory. 2020-04-27 15:27:55 -04:00
Michael Stenta
617dcfba03 Install postgresql-client so Drush can connect to the database. 2020-04-27 15:27:55 -04:00
Michael Stenta
d1a26fc7e8 Initial Dockerfile. Copied from farmOS 7.x-1.x. Modified to build codebase with Composer create-project farmos/project. 2020-04-27 15:27:54 -04:00