Skip to content

Commit

Permalink
updating the image/directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-gupta committed Feb 12, 2016
1 parent ffcc27b commit 7035595
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions couchbase-bucket/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM couchbase

COPY load-bucket.sh /opt/couchbase
COPY data /opt/couchbase/data

CMD ["/opt/couchbase/load-bucket.sh"]

Binary file added couchbase-bucket/data/zips.zip
Binary file not shown.
15 changes: 15 additions & 0 deletions couchbase-bucket/readme.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
= Load a sample bucket in Couchbase

Build the image (only for dev, otherwise already available in Docker Hub):

```console
docker build -t arungupta/couchbase-bucket .
```

This image:

- Configures a Couchbase node
- Download US zip code JSON sample data from http://jsonstudio.com/resources/
- Creates multiple documents from this data
- Loads this data in the `sample` bucket

0 comments on commit 7035595

Please sign in to comment.