Skip to content

Commit

Permalink
Default Docker Compose image to empty string (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c authored Jul 8, 2021
1 parent 0973818 commit ee44447
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .changeset/rich-crabs-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'skuba': patch
---

**template:** Default Docker Compose image to empty string

This suppresses Docker Compose CLI warnings and errors when running outside of Buildkite.
2 changes: 1 addition & 1 deletion template/express-rest-api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.7'

services:
app:
image: ${BUILDKITE_PLUGIN_DOCKER_IMAGE}
image: ${BUILDKITE_PLUGIN_DOCKER_IMAGE:-''}
init: true
volumes:
- ./:/workdir
Expand Down
2 changes: 1 addition & 1 deletion template/greeter/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.7'

services:
app:
image: ${BUILDKITE_PLUGIN_DOCKER_IMAGE}
image: ${BUILDKITE_PLUGIN_DOCKER_IMAGE:-''}
init: true
volumes:
- ./:/workdir
Expand Down
2 changes: 1 addition & 1 deletion template/koa-rest-api/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.7'

services:
app:
image: ${BUILDKITE_PLUGIN_DOCKER_IMAGE}
image: ${BUILDKITE_PLUGIN_DOCKER_IMAGE:-''}
init: true
volumes:
- ./:/workdir
Expand Down
2 changes: 1 addition & 1 deletion template/lambda-sqs-worker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ version: '3.7'

services:
app:
image: ${BUILDKITE_PLUGIN_DOCKER_IMAGE}
environment:
- BUILDKITE_COMMIT
- ENVIRONMENT
- VERSION
image: ${BUILDKITE_PLUGIN_DOCKER_IMAGE:-''}
init: true
volumes:
- ./:/workdir
Expand Down

0 comments on commit ee44447

Please sign in to comment.