Sign inSign up

smokserwis/cassandra-docker-dev

By smokserwis

•Updated almost 2 years ago

A onbuild image that marries a Cassandra 4.1.7 with a schema of your choice. Perfect for CI!

Image
0

1.5K

smokserwis/cassandra-docker-dev repository overview

⁠cassandra-docker-dev

Have you ever been in a situation where your project needed a quick Cassandra, but writing it a Dockerfile proved too cumbersome? cassandra-docker-dev to the rescue!

⁠Usage

Place your CQL file, named schema.cql in the same directory in which you have placed your Dockerfile, containing a single line:

FROM smokserwis/cassandra-dev-docker

This schema will be loaded and the resulting image will be of a Cassandra 4.1.7 with preloaded schema.

Thank you!

⁠I have the schema in multiple files!

Don't worry, cassandra-docker-dev has you covered. Just add the following to your Dockerfile:

ADD schema_extra /tmp/schema_extra.cql

The file has to be named /tmp/schema*.cql, since this is what cassandra-docker-dev will try to load. All files having the name of schema*.cql will be added from the current directory automatically. Of course you still need to place schema.cql so place there your main schema, with the schemas for tools named like schema_jaeger.cql.

Tag summary

Content type

Image

Digest

sha256:fe0d180bf…

Size

317.7 MB

Last updated

almost 2 years ago

docker pull smokserwis/cassandra-docker-dev