Skip to content

Commit dc5e444

Browse files
markmetcalfeLinnyTheDuck
authored andcommitted
fix: Make PHP base containers depend on the debug containers again
1 parent 3bed35f commit dc5e444

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

compose/php-legacy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ services:
407407
networks:
408408
- totara
409409

410+
# Do not add new PHP versions here, add them to compose/php.yml instead!
411+
410412
volumes:
411413
totara-data:
412414
bash-history:

compose/php.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ services:
2020
- bash-history:/root/.bash_history
2121
- zsh-history:/root/.zsh_history
2222
- ./shell:/root/custom_shell
23+
depends_on:
24+
- php-7.3-debug
2325
networks:
2426
- totara
2527

@@ -72,6 +74,8 @@ services:
7274
- bash-history:/root/.bash_history
7375
- zsh-history:/root/.zsh_history
7476
- ./shell:/root/custom_shell
77+
depends_on:
78+
- php-7.4-debug
7579
networks:
7680
- totara
7781

@@ -123,6 +127,8 @@ services:
123127
- bash-history:/root/.bash_history
124128
- zsh-history:/root/.zsh_history
125129
- ./shell:/root/custom_shell
130+
depends_on:
131+
- php-8.0-debug
126132
networks:
127133
- totara
128134

@@ -174,6 +180,8 @@ services:
174180
- bash-history:/root/.bash_history
175181
- zsh-history:/root/.zsh_history
176182
- ./shell:/root/custom_shell
183+
depends_on:
184+
- php-8.1-debug
177185
networks:
178186
- totara
179187

@@ -225,6 +233,8 @@ services:
225233
- bash-history:/root/.bash_history
226234
- zsh-history:/root/.zsh_history
227235
- ./shell:/root/custom_shell
236+
depends_on:
237+
- php-8.2-debug
228238
networks:
229239
- totara
230240

@@ -276,6 +286,8 @@ services:
276286
- bash-history:/root/.bash_history
277287
- zsh-history:/root/.zsh_history
278288
- ./shell:/root/custom_shell
289+
depends_on:
290+
- php-8.3-debug
279291
networks:
280292
- totara
281293

@@ -326,6 +338,8 @@ services:
326338
- bash-history:/root/.bash_history
327339
- zsh-history:/root/.zsh_history
328340
- ./shell:/root/custom_shell
341+
depends_on:
342+
- php-8.4-debug
329343
networks:
330344
- totara
331345

0 commit comments

Comments
 (0)