docker image that loads data / schemas from inside container
data
- (directory | table name)
- schema.json
- anything_not_named_schema_loaded_as_records.json
Json can be formatted as a large blob of arrays:
[
{
"inner": {}
},
{
"inner": {}
}
]
or line by line in these formats:
[
{},
{}
]
{},
{}
{}
{}
FROM chadgrant/dynamo:1.4
COPY data /data/
RUN /build.sh
Sample dockerfile: https://github.com/chadgrant/docker-database/dynamo/sample
make docker-build
make docker-run