Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.59 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.59 KB

This repository contains the Dockerfiles and configuration scripts for the Official Couchbase Docker images.

If you are a casual user, you probably don't care about this repo, instead you should head over to one of the Couchbase Dockerhub repositories:

Directory layout

  • community/* and enterprise/* contain generated Dockerfiles + assets -- do not edit

  • generate/ contains everything needed to generate the Dockerfiles and assets -- everything you want to edit is here

Regenerating from templates

After you change anything under the generate directory, you should regenerate from the templates.

Prerequisites

Steps

$ cd <project-dir>/generate/generator
$ go run generate.go <project-dir>

Where <project-dir> is the absolute path to the directory where you checked out this repo, for example: /Users/tleyden/Development/couchbase-docker

Expected output:

2015/04/24 15:41:40 generateDockerfile called with: {community couchbase-server 2.2.0}
2015/04/24 15:41:41 generateDockerfile called with: {community couchbase-server 3.0.1}
2015/04/24 15:41:41 generateDockerfile called with: {community sync-gateway 1.0.4}
2015/04/24 15:41:41 generateDockerfile called with: {enterprise couchbase-server 2.5.2}
2015/04/24 15:41:41 generateDockerfile called with: {enterprise couchbase-server 3.0.2}
2015/04/24 15:41:41 Successfully finished!

At this point, you should push your changes to github.