Git Product home page Git Product logo

docker's Introduction

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.

Adding a new Couchbase Server version + dockerhub tag

Create directory

$ cd <project-dir>/enterprise/couchbase-server

Regerate from templates

See instructions above.

Push to github

Commit and push to github

Kick off dockerhub build

Login to dockerhub (you need to be on the couchbase team for this step) and create a new build that corresponds to that directory, and enter a matching tag, eg:

  • Branch: master
  • Dockerfile Location: /enterprise/couchbase-server/3.1.3
  • Docker Tag Name: enterprise-3.1.3

docker's People

Contributors

1tylermitchell avatar avsej avatar cb-robot avatar ceejatec avatar chippiewill avatar cihanb avatar combinatorial avatar donkeyoatie avatar hookenz avatar jamesnocentini avatar jflath avatar michaelkwok avatar misterbisson avatar steveyen avatar tianon avatar tleyden avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.