dockerfile: added PG_USER variable

This commit is contained in:
Sameer Naik
2015-07-12 23:20:49 +05:30
parent a22c6032ec
commit 87857b903f
2 changed files with 23 additions and 21 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
FROM sameersbn/ubuntu:14.04.20150712
MAINTAINER sameer@damagehead.com
ENV PG_VERSION 9.4
ENV PG_VERSION=9.4 \
PG_USER=postgres
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
&& apt-get update \