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

Make it possible to mount docker volumes for shrun tests #12

Closed
rylandg opened this issue Apr 14, 2020 · 2 comments
Closed

Make it possible to mount docker volumes for shrun tests #12

rylandg opened this issue Apr 14, 2020 · 2 comments

Comments

@rylandg
Copy link
Owner

rylandg commented Apr 14, 2020

Right now it's not possible for the user to mount a runtime volume into a shrun container. This is prohibitive and makes certain use cases impossible.

@rylandg
Copy link
Owner Author

rylandg commented Apr 14, 2020

Initial support for this is released.

41ec4e0

@rylandg rylandg closed this as completed Apr 14, 2020
@rylandg
Copy link
Owner Author

rylandg commented Apr 14, 2020

For potential readers, there is an example here https://github.com/rylandg/shrun-basic-demo/blob/master/package.json

Usage is:

shrun --volume $(pwd)/LICENSE:/home/dockeruser/LICENSE --testMatch 'specs' --dockerImage 'testshrun:latest'

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

No branches or pull requests

1 participant