diff --git a/Dockerfile b/Dockerfile index c4a2547..fbb5029 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,9 @@ RUN composer global require \ dragon-code/codestyler:^1.0 \ symfony/thanks +RUN composer global config --no-plugins allow-plugins.symfony/thanks true +RUN composer config --no-plugins allow-plugins.symfony/thanks true + COPY shell /shell COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index 670ee6e..994825a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,3 +9,5 @@ source /shell/editorconfig.sh source /shell/dependabot.sh source /shell/push.sh + +source /shell/thanks.sh diff --git a/shell/thanks.sh b/shell/thanks.sh new file mode 100644 index 0000000..84e0956 --- /dev/null +++ b/shell/thanks.sh @@ -0,0 +1,7 @@ +#!/bin/sh -l + +composer global thanks + +if [ -f "./composer.json" ]; then + composer thanks +fi