File tree Expand file tree Collapse file tree 5 files changed +17
-18
lines changed
Expand file tree Collapse file tree 5 files changed +17
-18
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,9 @@ COPY . /app
3535# Set up Drush aliases.
3636COPY .docker/config/cli/govcms.site.yml /app/drush/sites/
3737
38- # Ensure drush-launcher instead of Drush 8 in /home/.composer
39- # @todo Make drush launcher available upstream, @see https://github.com/amazeeio/lagoon/pull/1183
40- RUN wget -O /usr/local/bin/drush "https://github.com/drush-ops/drush-launcher/releases/download/0.6.0/drush.phar" \
41- && chmod +x /usr/local/bin/drush \
42- && rm -Rf /home/.composer/vendor/bin
38+ # Remove Drush 8 in /home/.composer.
39+ RUN rm -Rf /home/.composer/vendor/bin
40+ ENV PATH="/app/vendor/bin:${PATH}"
4341
4442COPY --from=base /app/web/sites/all/modules/ /app/web/sites/all/modules/
4543
Original file line number Diff line number Diff line change 1414 uri : nginx-${env.LAGOON_PROJECT}-master.govcms.amazee.io
1515 ssh :
1616 options : -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 30831 -F /dev/null
17+ paths :
18+ drush-script : /app/vendor/bin/drush
Original file line number Diff line number Diff line change 88 { "type" : " composer" , "url" : " https://packages.drupal.org/8" },
99 { "type" : " composer" , "url" : " https://asset-packagist.org" },
1010 { "type" : " vcs" , "url" : " git@github.com:govcms/govcms.git" },
11- {
12- "type" : " package" ,
13- "package" : {
14- "name" : " harvesthq/chosen" ,
15- "version" : " v1.8.7" ,
16- "type" : " drupal-library" ,
17- "dist" : {
18- "type" : " zip" ,
19- "url" : " https://github.com/harvesthq/chosen/releases/download/v1.8.7/chosen_v1.8.7.zip"
20- }
21- }
22- },
2311 {
2412 "type" : " package" ,
2513 "package" : {
3826 "govcms/govcms-custom" : " *" ,
3927 "govcms/govcms" : " 3.x-master-dev" ,
4028 "govcms/scaffold-tooling" : " 10.x-master-dev" ,
41- "drush/drush" : " ^11 " ,
29+ "drush/drush" : " ^12 " ,
4230 "composer/installers" : " ^2.0" ,
4331 "egulias/email-validator" : " 4.0.1 as 3.2.6"
4432 },
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ services:
6464 # https://pygmy.readthedocs.io/en/master/ssh_agent/
6565 volumes_from : # ## Local overrides to mount host SSH keys. Automatically removed in CI.
6666 - container:amazeeio-ssh-agent # ## Local overrides to mount host SSH keys. Automatically removed in CI.
67+ networks :
68+ - amazeeio-network
69+ - default
6770
6871 test :
6972 build :
@@ -80,6 +83,9 @@ services:
8083 - cli
8184 environment :
8285 << : *default-environment
86+ networks :
87+ - amazeeio-network
88+ - default
8389
8490 nginx :
8591 build :
@@ -117,6 +123,9 @@ services:
117123 - cli
118124 environment :
119125 << : *default-environment
126+ networks :
127+ - amazeeio-network
128+ - default
120129
121130 mariadb :
122131 image : ${MARIADB_DATA_IMAGE:-govcms/mariadb-drupal:{{ GOVCMS_VERSION }}.x-latest}
Original file line number Diff line number Diff line change 1313 ssh :
1414 options : -p 30831
1515 tty : false
16+ paths :
17+ drush-script : /app/vendor/bin/drush
You can’t perform that action at this time.
0 commit comments