Skip to content

Commit

Permalink
now support for composer-modules via DRUPAL_COMPOSER_MODULES
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffen Schüssler committed Feb 11, 2024
1 parent 4b18c3a commit 628203a
Show file tree
Hide file tree
Showing 76 changed files with 751 additions and 125 deletions.
12 changes: 7 additions & 5 deletions 10.1/php8.1/apache-bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.1/apache-bookworm/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.1/apache-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.1/apache-bullseye/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.1/fpm-alpine3.18/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.1/fpm-alpine3.18/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.1/fpm-alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.1/fpm-alpine3.19/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.1/fpm-bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.1/fpm-bookworm/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.1/fpm-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.1/fpm-bullseye/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.2/apache-bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.2/apache-bookworm/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.2/apache-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.2/apache-bullseye/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.2/fpm-alpine3.18/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.2/fpm-alpine3.18/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
12 changes: 7 additions & 5 deletions 10.1/php8.2/fpm-alpine3.19/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions 10.1/php8.2/fpm-alpine3.19/apache2-pre-start-drupal
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Step 1 - add optional Composer-Modules
if [ "$DRUPAL_COMPOSER_MODULES" != "" ]; then
(
cd /opt/drupal
for MOD in $DRUPAL_COMPOSER_MODULES;
do
composer require "$MOD"
done
)
fi

# LAST start normal apache2-foreground
exec /usr/local/bin/apache2-foreground "$@"
Loading

0 comments on commit 628203a

Please sign in to comment.