forked from couchbase/docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix generator to use ubuntu deb files instead of centos rpm.
- Loading branch information
Showing
9 changed files
with
79 additions
and
65 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 |
---|---|---|
|
@@ -2,16 +2,9 @@ FROM ubuntu:12.04 | |
|
||
MAINTAINER Couchbase Docker Team <[email protected]> | ||
|
||
ENV CB_VERSION 3.0.1 | ||
ENV CB_RELEASE_URL http://packages.couchbase.com/releases | ||
ENV CB_PACKAGE couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb | ||
|
||
# Add couchbase binaries to PATH | ||
ENV PATH $PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install dependancies | ||
RUN apt-get update && \ | ||
apt-get install -yq runit wget python3-minimal && \ | ||
apt-get install -yq runit wget && \ | ||
apt-get autoremove && apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -21,6 +14,12 @@ ADD scripts/entrypoint.sh /entrypoint.sh | |
# Add runnit script for couchbase-server | ||
ADD scripts/run /etc/service/couchbase-server/run | ||
|
||
ENV CB_VERSION=2.2.0 \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE=couchbase-server-community_2.2.0_x86_64.deb \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
|
||
# Install couchbase | ||
RUN wget -N $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE && \ | ||
dpkg -i ./$CB_PACKAGE | ||
|
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 |
---|---|---|
|
@@ -2,16 +2,9 @@ FROM ubuntu:12.04 | |
|
||
MAINTAINER Couchbase Docker Team <[email protected]> | ||
|
||
ENV CB_VERSION 3.0.1 | ||
ENV CB_RELEASE_URL http://packages.couchbase.com/releases | ||
ENV CB_PACKAGE couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb | ||
|
||
# Add couchbase binaries to PATH | ||
ENV PATH $PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install dependancies | ||
RUN apt-get update && \ | ||
apt-get install -yq runit wget python3-minimal && \ | ||
apt-get install -yq runit wget && \ | ||
apt-get autoremove && apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -21,6 +14,12 @@ ADD scripts/entrypoint.sh /entrypoint.sh | |
# Add runnit script for couchbase-server | ||
ADD scripts/run /etc/service/couchbase-server/run | ||
|
||
ENV CB_VERSION=3.0.1 \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE=couchbase-server-community-3.0.1-ubuntu12.04_amd64.deb \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
|
||
# Install couchbase | ||
RUN wget -N $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE && \ | ||
dpkg -i ./$CB_PACKAGE | ||
|
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 |
---|---|---|
|
@@ -2,16 +2,9 @@ FROM ubuntu:12.04 | |
|
||
MAINTAINER Couchbase Docker Team <[email protected]> | ||
|
||
ENV CB_VERSION 3.0.1 | ||
ENV CB_RELEASE_URL http://packages.couchbase.com/releases | ||
ENV CB_PACKAGE couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb | ||
|
||
# Add couchbase binaries to PATH | ||
ENV PATH $PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install dependancies | ||
RUN apt-get update && \ | ||
apt-get install -yq runit wget python3-minimal && \ | ||
apt-get install -yq runit wget && \ | ||
apt-get autoremove && apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -21,6 +14,12 @@ ADD scripts/entrypoint.sh /entrypoint.sh | |
# Add runnit script for couchbase-server | ||
ADD scripts/run /etc/service/couchbase-server/run | ||
|
||
ENV CB_VERSION=2.5.2 \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE=couchbase-server-enterprise_2.5.2_x86_64.deb \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
|
||
# Install couchbase | ||
RUN wget -N $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE && \ | ||
dpkg -i ./$CB_PACKAGE | ||
|
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 |
---|---|---|
|
@@ -2,16 +2,9 @@ FROM ubuntu:12.04 | |
|
||
MAINTAINER Couchbase Docker Team <[email protected]> | ||
|
||
ENV CB_VERSION 3.0.1 | ||
ENV CB_RELEASE_URL http://packages.couchbase.com/releases | ||
ENV CB_PACKAGE couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb | ||
|
||
# Add couchbase binaries to PATH | ||
ENV PATH $PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install dependancies | ||
RUN apt-get update && \ | ||
apt-get install -yq runit wget python3-minimal && \ | ||
apt-get install -yq runit wget && \ | ||
apt-get autoremove && apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -21,6 +14,12 @@ ADD scripts/entrypoint.sh /entrypoint.sh | |
# Add runnit script for couchbase-server | ||
ADD scripts/run /etc/service/couchbase-server/run | ||
|
||
ENV CB_VERSION=3.0.2 \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE=couchbase-server-enterprise-3.0.2-ubuntu12.04_amd64.deb \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
|
||
# Install couchbase | ||
RUN wget -N $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE && \ | ||
dpkg -i ./$CB_PACKAGE | ||
|
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 |
---|---|---|
|
@@ -2,16 +2,9 @@ FROM ubuntu:12.04 | |
|
||
MAINTAINER Couchbase Docker Team <[email protected]> | ||
|
||
ENV CB_VERSION 3.0.1 | ||
ENV CB_RELEASE_URL http://packages.couchbase.com/releases | ||
ENV CB_PACKAGE couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb | ||
|
||
# Add couchbase binaries to PATH | ||
ENV PATH $PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install dependancies | ||
RUN apt-get update && \ | ||
apt-get install -yq runit wget python3-minimal && \ | ||
apt-get install -yq runit wget && \ | ||
apt-get autoremove && apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -21,6 +14,12 @@ ADD scripts/entrypoint.sh /entrypoint.sh | |
# Add runnit script for couchbase-server | ||
ADD scripts/run /etc/service/couchbase-server/run | ||
|
||
ENV CB_VERSION=3.0.3 \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE=couchbase-server-enterprise-3.0.3-ubuntu12.04_amd64.deb \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
|
||
# Install couchbase | ||
RUN wget -N $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE && \ | ||
dpkg -i ./$CB_PACKAGE | ||
|
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 |
---|---|---|
|
@@ -2,16 +2,9 @@ FROM ubuntu:12.04 | |
|
||
MAINTAINER Couchbase Docker Team <[email protected]> | ||
|
||
ENV CB_VERSION 3.0.1 | ||
ENV CB_RELEASE_URL http://packages.couchbase.com/releases | ||
ENV CB_PACKAGE couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb | ||
|
||
# Add couchbase binaries to PATH | ||
ENV PATH $PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install dependancies | ||
RUN apt-get update && \ | ||
apt-get install -yq runit wget python3-minimal && \ | ||
apt-get install -yq runit wget && \ | ||
apt-get autoremove && apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -21,6 +14,12 @@ ADD scripts/entrypoint.sh /entrypoint.sh | |
# Add runnit script for couchbase-server | ||
ADD scripts/run /etc/service/couchbase-server/run | ||
|
||
ENV CB_VERSION=feature/beta \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE=couchbase-server-enterprise-4.0.0-beta-ubuntu12.04_amd64.deb \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
|
||
# Install couchbase | ||
RUN wget -N $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE && \ | ||
dpkg -i ./$CB_PACKAGE | ||
|
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 |
---|---|---|
|
@@ -2,16 +2,9 @@ FROM ubuntu:12.04 | |
|
||
MAINTAINER Couchbase Docker Team <[email protected]> | ||
|
||
ENV CB_VERSION 3.0.1 | ||
ENV CB_RELEASE_URL http://packages.couchbase.com/releases | ||
ENV CB_PACKAGE couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb | ||
|
||
# Add couchbase binaries to PATH | ||
ENV PATH $PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install dependancies | ||
RUN apt-get update && \ | ||
apt-get install -yq runit wget python3-minimal && \ | ||
apt-get install -yq runit wget && \ | ||
apt-get autoremove && apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -21,6 +14,12 @@ ADD scripts/entrypoint.sh /entrypoint.sh | |
# Add runnit script for couchbase-server | ||
ADD scripts/run /etc/service/couchbase-server/run | ||
|
||
ENV CB_VERSION=feature/dp \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE=couchbase-server-enterprise-4.0.0-dp-ubuntu12.04_amd64.deb \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
|
||
# Install couchbase | ||
RUN wget -N $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE && \ | ||
dpkg -i ./$CB_PACKAGE | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,9 @@ FROM ubuntu:12.04 | |
|
||
MAINTAINER Couchbase Docker Team <[email protected]> | ||
|
||
ENV CB_VERSION 3.0.1 | ||
ENV CB_RELEASE_URL http://packages.couchbase.com/releases | ||
ENV CB_PACKAGE couchbase-server-community_3.0.1-ubuntu12.04_amd64.deb | ||
|
||
# Add couchbase binaries to PATH | ||
ENV PATH $PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
# Install dependancies | ||
RUN apt-get update && \ | ||
apt-get install -yq runit wget python3-minimal && \ | ||
apt-get install -yq runit wget && \ | ||
apt-get autoremove && apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -21,6 +14,12 @@ ADD scripts/entrypoint.sh /entrypoint.sh | |
# Add runnit script for couchbase-server | ||
ADD scripts/run /etc/service/couchbase-server/run | ||
|
||
ENV CB_VERSION={{ .CB_VERSION }} \ | ||
CB_RELEASE_URL=http://packages.couchbase.com/releases \ | ||
CB_PACKAGE={{ .CB_PACKAGE }} \ | ||
PATH=$PATH:/opt/couchbase/bin:/opt/couchbase/bin/tools:/opt/couchbase/bin/install | ||
|
||
|
||
# Install couchbase | ||
RUN wget -N $CB_RELEASE_URL/$CB_VERSION/$CB_PACKAGE && \ | ||
dpkg -i ./$CB_PACKAGE | ||
|