comparison postgres/Dockerfile @ 116:4b8eb7301ae0

DEP-12: update to postgres 9.4.11. add script to generate unique postgres password
author smith@nwoca.org
date Thu, 27 Apr 2017 17:51:12 -0400
parents 53671513b240
children 11fb5ba7f55b
comparison
equal deleted inserted replaced
115:151bd88f6c56 116:4b8eb7301ae0
1 # 1 #
2 # Docker file to create postgres image for ssdt applications 2 # Docker file to create postgres image for ssdt applications
3 3
4 FROM postgres:9.4.5 4 FROM postgres:9.4.11
5 5
6 MAINTAINER Dave Smith smith@nwoca.org 6 MAINTAINER Dave Smith smith@nwoca.org
7 7
8 ENV DB_NAME=database \ 8 ENV DB_NAME=database \
9 DB_USER=dbuser \ 9 DB_USER=dbuser \
19 19
20 ENV TZ=America/New_York 20 ENV TZ=America/New_York
21 21
22 RUN echo $TZ > /etc/timezone \ 22 RUN echo $TZ > /etc/timezone \
23 && dpkg-reconfigure --frontend noninteractive tzdata 23 && dpkg-reconfigure --frontend noninteractive tzdata
24
25 COPY ssdt-entrypoint.sh /usr/local/bin/
26
27 RUN chmod 755 /usr/local/bin/ssdt-entrypoint.sh
28
29 ENTRYPOINT ["ssdt-entrypoint.sh"]
30
31 CMD ["postgres"]
32