Sign inSign up

liechteneckerdevs/ninja-base

By liechteneckerdevs

•Updated 10 months ago

Image
0

5.2K

liechteneckerdevs/ninja-base repository overview

⁠Docker Drupal Base

This image can be used as Drupal 8/9 base image. It loads all necessary php extensions to work properly & also starts up a memcached server in the backend.

Configurable environment variables:

NameDescriptionDefault valueAvailabe since version
NINJA_AUTO_INSTALLneeds to be set, when you want to use the drupal-install scriptfalsev2.1.0
PURGE_NINJA_DATABASEneeds to be set, when you want to use the drupal-install scriptfalsev2.1.0
NINJA_AUTO_UPDATEneeds to be set, when you want to use the drupal-update scriptfalsev2.1.0
NINJA_STARTUP_EXTRA_COMMANDcommand to be executed in background when starting the containerv2.2.0
STARTUP_SETUP_PERMISSIONS_OPTIONSoptions which get passed to the setup-ninja-permissions scriptv2.0.0
SKIP_NINJA_DATABASE_CONNECTION_CHECKif set to "true", the startup database connection check gets skippedfalsev2.0.0
NINJA_USER_UMASKoptional0027v2.1.0
USER_PERMISSIONSfilesystem permissions for the ownerrwXv2.1.0
GROUP_PERMISSIONSfilesystem permissions for the grouprXv2.1.0
OTHERS_PERMISSIONSfilesystem permissions for others---v2.1.0
STORAGE_USER_PERMISSIONSfilesystem permissions for the upload directory for the userrwXv2.1.0
STORAGE_GROUP_PERMISSIONSfilesystem permissions for the upload directory for the grouprwXv2.1.0
STORAGE_OTHERS_PERMISSIONSfilesystem permissions for the upload directory for others---v2.1.0
NINJA_SETUIDoptional, if "true" the setuid byte is set on all directories in NINJA_ROOTtruev2.1.0
NINJA_SETGIDoptional, if "true" the setgid byte is set on all directories in NINJA_ROOTtruev2.1.0
⁠Update der PHP Version

Das Laravel Base Image wird auf hub.docker.com bereitgestellt: https://hub.docker.com/r/liechteneckerdevs/ninja-base⁠

Durchführen von Updates:

  • Im Dockerfile die Version des PHP Base-Images auf die aktuellste Patch Version ändern
  • dann in den Branch zurückpushen (v3.0.x-php81)
  • Git Tag erstellen: git tag v3.0.<x>-php81 (falls neue Features im Base-Image dazukommen, bitte in einem neuen Minor Branch)
  • Tag pushen: git push origin v3.0.<x>-php81

Dann kann in den Ninja Projekten der neu erstellte Tag verwendet werden (der Build auf dockerhub dauert manchmal etwas).

Tag summary

Content type

Image

Digest

sha256:3a0b5266b…

Size

335.6 MB

Last updated

10 months ago

docker pull liechteneckerdevs/ninja-base:v3.0.38-php83