diff options
author | Fred Lifton <fred.lifton@docker.com> | 2014-08-27 09:05:02 -0700 |
---|---|---|
committer | Fred Lifton <fred.lifton@docker.com> | 2014-08-27 09:05:02 -0700 |
commit | aba575c7546ba7d2914f0c3b8b3450667b3959ac (patch) | |
tree | d0158f0eab4b9710815c1a87e2ef3699e5185205 /docs/sources/examples/postgresql_service.Dockerfile | |
parent | 4b54484843eacf6ce57d2fc16e6aacc70d964041 (diff) | |
parent | 7565cb309988345f9ed9daba87052f2bba116033 (diff) | |
download | docker-docs-1.1.tar.gz |
Merge pull request #7755 from SvenDowideit/post-1.1.2-docs-update-1docs-1.1
Post 1.1.2 docs update 1
Diffstat (limited to 'docs/sources/examples/postgresql_service.Dockerfile')
-rw-r--r-- | docs/sources/examples/postgresql_service.Dockerfile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/docs/sources/examples/postgresql_service.Dockerfile b/docs/sources/examples/postgresql_service.Dockerfile index 364a18a81d..d0f37669d1 100644 --- a/docs/sources/examples/postgresql_service.Dockerfile +++ b/docs/sources/examples/postgresql_service.Dockerfile @@ -13,17 +13,13 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B97B0AFCAA # of PostgreSQL, ``9.3``. RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list -# Update the Ubuntu and PostgreSQL repository indexes -RUN apt-get update - # Install ``python-software-properties``, ``software-properties-common`` and PostgreSQL 9.3 # There are some warnings (in red) that show up during the build. You can hide # them by prefixing each apt-get statement with DEBIAN_FRONTEND=noninteractive -RUN apt-get -y -q install python-software-properties software-properties-common -RUN apt-get -y -q install postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 +RUN apt-get update && apt-get install -y python-software-properties software-properties-common postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 # Note: The official Debian and Ubuntu images automatically ``apt-get clean`` -# after each ``apt-get`` +# after each ``apt-get`` # Run the rest of the commands as the ``postgres`` user created by the ``postgres-9.3`` package when it was ``apt-get installed`` USER postgres |