File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM deis/base:latest
2- MAINTAINER OpDemand <info@opdemand.com>
1+ FROM ubuntu:14.04
2+
3+ ENV DEBIAN_FRONTEND noninteractive
4+
5+ # install common packages
6+ RUN apt-get update && apt-get install -y curl
7+
8+ # install etcdctl
9+ RUN curl -sSL -o /usr/local/bin/etcdctl https://s3-us-west-2.amazonaws.com/opdemand/etcdctl-v0.4.6 \
10+ && chmod +x /usr/local/bin/etcdctl
11+
12+ # install confd
13+ RUN curl -sSL -o /usr/local/bin/confd https://s3-us-west-2.amazonaws.com/opdemand/confd-v0.5.0-json \
14+ && chmod +x /usr/local/bin/confd
315
416# install 9.3 from postgresql.org repository
5- RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise -pgdg main" > /etc/apt/sources.list.d/pgdg.list
6- RUN wget --quiet --no-check-certificate -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
17+ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty -pgdg main" > /etc/apt/sources.list.d/pgdg.list
18+ RUN curl -sk https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
719RUN apt-get update && apt-get install -yq postgresql-9.3 && /etc/init.d/postgresql stop
820
921# define the execution environment
Original file line number Diff line number Diff line change 11# Deis Database
22
3- A PostgreSQL database for use in the [ Deis] ( http://deis.io ) open
4- source PaaS.
3+ A PostgreSQL database for use in the [ Deis] ( http://deis.io ) open source PaaS.
54
6- [ ![ image] ( https://d207aa93qlcgug.cloudfront.net/img/icons/framed-icon-checked-repository.svg )] ( https://index.docker.io/u/deis/database/ )
5+ This Docker image is based on the official
6+ [ ubuntu:14.04] ( https://registry.hub.docker.com/_/ubuntu/ ) image.
77
8- [ ** Trusted Build** ] ( https://index.docker.io/u/deis/database/ )
9-
10- This Docker image is based on the trusted build
11- [ deis/base] ( https://index.docker.io/u/deis/base/ ) , which itself is based
12- on the official [ ubuntu:12.04] ( https://index.docker.io/_/ubuntu/ ) image.
13-
14- Please add any issues you find with this software to the
15- [ Deis project] ( https://github.com/deis/deis/issues ) .
8+ Please add any [ issues] ( https://github.com/deis/deis/issues ) you find with this software to
9+ the [ Deis Project] ( https://github.com/deis/deis ) .
1610
1711## Usage
1812
19- * ` make build ` builds the * deis/database* image inside a vagrant VM
20- * ` make run ` installs and starts * deis/database* , then displays log
21- output from the container
13+ Please consult the [ Makefile] ( Makefile ) for current instructions on how to build, test, push,
14+ install, and start ** deis/database** .
2215
2316## Environment Variables
2417
You can’t perform that action at this time.
0 commit comments