Skip to content

Commit 3be1d72

Browse files
fixed docker-compose pre-build of custom image
1 parent fa60690 commit 3be1d72

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

buildspec.test.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ phases:
44
runtime-versions:
55
php: '7.3'
66
commands:
7-
- docker-compose build -f docker-compose.unittest.yml
7+
# pre-build custom image/container
8+
- docker-compose build -f docker-compose.unittest.yml unittest-php73
89
# install using integrated composer
910
- docker-compose -f docker-compose.unittest.yml run --no-deps unittest-php73 composer update
1011
# alternatively: install on agent, w/o platform checks
@@ -20,7 +21,7 @@ phases:
2021
post_build:
2122
commands:
2223
# just for safety, cleanup.
23-
- docker-compose stop -f docker-compose.unittest.yml
24+
- docker-compose stop -f docker-compose.unittest.yml
2425

2526
reports:
2627
test-report:

0 commit comments

Comments
 (0)