Open ajstorm opened 3 years ago
@vy-ton can you evaluate this request and prioritize it with @ericharmeling?
This was discussed as an upcoming intern project
Other places we could leverage these containers
example-orms
testsHere's a link from @timveil's of the repo where they're planning on coalescing all of the SE docker assets.: https://github.com/cockroachlabs-field/docker-examples
Comment from Vy: Could also be useful for internal reproduction of customer issues.
We will start on this by asking our ActiveRecord contractor to work on making a Docker image that has our adapter.
cc @ericharmeling
Recently, at Hack the North, some of the developers had issues getting ORMs setup correctly with CRDB (specifically, Sequelize). The instructions in our docs work, when followed correctly, but many of them are several steps long, and missing (or messing up) a single step will lead to pain and suffering.
It would be beneficial if we had a simpler approach to getting up-and-running with CRDB and ORMs. Luckily, some of the SEs have already built assets for this using Docker (for example: https://github.com/dbist/cockroach-docker).
The thinking for this issue is to build standardized Docker containers for each ORM (or a mega-container which contains all ORMs) which could also contain all of the samples. This would take the multi-step setups we currently have, to a single Docker pull, and then
exec
ing into the container.Jira issue: CRDB-3289