File tree Expand file tree Collapse file tree 5 files changed +10
-13
lines changed
Expand file tree Collapse file tree 5 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ ARG GOVCMS_GITHUB_TOKEN
1212ENV WEBROOT=web
1313
1414# Clean up base image so as not to conflict with any changes.
15- RUN rm -rf /app
15+ RUN mv /app/web/sites/all/modules /scaffold_modules \
16+ && rm -rf /app
1617
1718RUN composer config --global github-oauth.github.com $GOVCMS_GITHUB_TOKEN
1819
@@ -22,6 +23,8 @@ COPY custom /app/custom
2223
2324# Run composer. Additional `rm`s can be added to reduce the image size, with diminishing returns.
2425RUN composer install --no-dev --no-interaction --no-suggest \
26+ && mkdir -p /app/web/sites/all \
27+ && mv /scaffold_modules /app/web/sites/all/modules \
2528 && rm -rf ~/.composer/cache \
2629 && rm -rf /app/web/core/tests \
2730 && rm -rf /app/web/modules/contrib/webform/tests
Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ COPY config /app/config
1919COPY favicon.ico /app/web
2020
2121# To enable SaaS+ uncomment these lines
22- RUN composer config --global github-oauth.github.com $GOVCMS_GITHUB_TOKEN
22+ RUN [ ! -z "$GOVCMS_GITHUB_TOKEN" ] \
23+ && composer config --global github-oauth.github.com $GOVCMS_GITHUB_TOKEN \
24+ || echo "skipping github token"
2325COPY custom /app/custom
2426RUN jq -s '.[1].repositories = (.[0].repositories + .[1].repositories) | .[1]' /app/custom/composer/composer.json /app/composer.json > /tmp/composer.json
2527RUN mv /tmp/composer.json /app/composer.json
Original file line number Diff line number Diff line change 55# e.g. site audits, automated backups.
66version : {{ GOVCMS_VERSION }}
77type : {{ GOVCMS_TYPE }}
8- scaffold : 3.4.0
8+ scaffold : 3.4.1
Original file line number Diff line number Diff line change 3535 "drupal/core-project-message" : true ,
3636 "oomphinc/composer-installers-extender" : true ,
3737 "phpstan/extension-installer" : true ,
38- "php-http/discovery" : true
38+ "php-http/discovery" : true ,
39+ "simplesamlphp/composer-module-installer" : true
3940 }
4041 },
4142 "autoload" : {
Original file line number Diff line number Diff line change @@ -63,9 +63,6 @@ services:
6363 # https://pygmy.readthedocs.io/en/master/ssh_agent/
6464 volumes_from : # ## Local overrides to mount host SSH keys. Automatically removed in CI.
6565 - container:amazeeio-ssh-agent # ## Local overrides to mount host SSH keys. Automatically removed in CI.
66- networks :
67- - amazeeio-network
68- - default
6966
7067 test :
7168 build :
@@ -82,9 +79,6 @@ services:
8279 - cli
8380 environment :
8481 << : *default-environment
85- networks :
86- - amazeeio-network
87- - default
8882
8983 nginx :
9084 build :
@@ -122,9 +116,6 @@ services:
122116 - cli
123117 environment :
124118 << : *default-environment
125- networks :
126- - amazeeio-network
127- - default
128119
129120 mariadb :
130121 image : ${MARIADB_DATA_IMAGE:-govcms/mariadb-drupal:{{ GOVCMS_VERSION }}.x-latest}
You can’t perform that action at this time.
0 commit comments