Skip to content

Commit

Permalink
docker: fix build
Browse files Browse the repository at this point in the history
- Remove the dependency from the sendgrid-oai repo and prism.
- Build and start containers on test target on a single
statement.

This should fix the builds over the main branch, because
`docker-compose` is compose v1 which has been deprecated and
not installed on newest versions of github actions
`ubuntu-latest`.

more info:

https://docs.docker.com/compose/migrate/#what-are-the-differences-between-compose-v1-and-compose-v2
  • Loading branch information
lopezator committed Aug 6, 2024
1 parent 574e54c commit 6ac158c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ test-integ: test

version ?= latest
test-docker:
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
version=$(version) bash ./prism.sh
docker compose up --build --parallel --force-recreate --abort-on-container-exit --remove-orphans

0 comments on commit 6ac158c

Please sign in to comment.