Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image #48

Closed
benhowes opened this issue Mar 5, 2018 · 1 comment · Fixed by #400
Closed

Docker image #48

benhowes opened this issue Mar 5, 2018 · 1 comment · Fixed by #400
Assignees

Comments

@benhowes
Copy link
Member

benhowes commented Mar 5, 2018

A public docker image would be useful for getting tests running faster, as mentioned in #46.

Let's work out how best to make a docker image which can access the test files, perhaps through a volume?

@michaelboulton
Copy link
Member

We do this for one of the other project something like this:

---
version: '2.1'

services:
  tavern:
    image: tavern:latest
    env_file:
      - required-env-keys.env
    volumes:
      - ./integration_tests:/integration_tests
    command:
      - --tavern-global-cfg
      - /integration_tests/local_urls.yaml
      - -p
      - no:logging
docker-compose build
docker-compose run tavern

(assuming I've already built the tavern dockerfile).

I'll make an alpine dockerfile with MQTT stuff included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants