-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from misterbisson/4beta
Couchbase 4 image
- Loading branch information
Showing
3 changed files
with
37 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,9 @@ | ||
# | ||
# Triton-optimized Couchbase | ||
# | ||
FROM centos:centos6.6 | ||
FROM couchbase/server:enterprise-4.0.0 | ||
MAINTAINER Casey Bisson <[email protected]> | ||
|
||
# | ||
# Install yum dependencies | ||
# | ||
RUN yum install -y tar \ | ||
&& yum clean all | ||
|
||
# | ||
# Install gosu for startup script | ||
# | ||
RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \ | ||
&& curl -o /usr/local/bin/gosu -sSL "https://github.com/tianon/gosu/releases/download/1.4/gosu-amd64" \ | ||
&& curl -o /usr/local/bin/gosu.asc -sSL "https://github.com/tianon/gosu/releases/download/1.4/gosu-amd64.asc" \ | ||
&& gpg --verify /usr/local/bin/gosu.asc \ | ||
&& rm /usr/local/bin/gosu.asc \ | ||
&& chmod +x /usr/local/bin/gosu | ||
|
||
# | ||
# Set Couchbase install vars | ||
# | ||
ENV CB_VERSION=3.0.3 \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE=couchbase-server-enterprise-3.0.3-centos6.x86_64.rpm \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install Couchbase | ||
RUN rpm --install $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE | ||
|
||
|
||
# | ||
# Install Node.js | ||
# similar to https://github.com/joyent/docker-node/blob/428d5e69763aad1f2d8f17c883112850535e8290/0.12/Dockerfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters